docpad / docpad-plugin-sass

Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
Other
13 stars 6 forks source link

Files with an underscore are rendered when there is a dash in the filename. #12

Closed saviomuc closed 11 years ago

saviomuc commented 11 years ago

sass plugin 2.4.5:

When I create a file with an underscore it doesn't get rendered. This behavior is expected according to the Sass reference:

"If you have a SCSS or Sass file that you want to import but don’t want to compile to a CSS file, you can add an underscore to the beginning of the filename. This will tell Sass not to compile it to a normal CSS file. You can then import these files without using the underscore."

But if you create a file with an underscore and a dash the file still gets rendered. Example:

_file.css.scss // doesn't get rendered. Okay _file-test.css.scss // gets rendered. Not okay

balupton commented 11 years ago

Fix released to v2.6.0 :) Thanks!