gruntjs / grunt-contrib-sass

Compile Sass to CSS.
http://gruntjs.com/
MIT License
848 stars 141 forks source link

Made skipping files prefixed with an underscore optional #175

Closed sethaldridge closed 9 years ago

sethaldridge commented 9 years ago

Self explanatory. I have several projects that start with an _filename.scss. This is a small update to make this optional so you can choose to use them or not. By default it skips them. If you set

{
  options: {
    underscore: true
  }
}

Then it will not skip the files.

sindresorhus commented 9 years ago

No thanks.

sethaldridge commented 9 years ago

This would be very helpful seeing as how we have over 15 projects built around using _filename.scss.

sisyphsu commented 8 years ago

@sindresorhus Why Not?

Some special files could have "_" prefix, like "_variables.scss", this will be really helpful, because FS will put them at the top of directory.

sindresorhus commented 8 years ago

It's Sass convention. http://stackoverflow.com/a/31319300/64949