xzyfer / sass-graph

Parses import dependencies from a directory of sass files
MIT License
76 stars 59 forks source link

Add support for globbing of @imports #85

Closed MarcelRobitaille closed 7 years ago

MarcelRobitaille commented 7 years ago

I use gulp-sass-glob. Having a setting to support that in this would really help me. Not sure if anyone else wants this; I didn't see any issues for it.

xzyfer commented 7 years ago

Thanks for the PR but this is not a feature we plan to support.

The Sass team has turned down import globbing support many times for good reasons. It doesn't make sense at this time to support features Sass doesn't support. A similar feature is likely to be support in Sass 4.0 at which time we will add support for their approach.

MarcelRobitaille commented 7 years ago

Fair enough. I havent heard about the new sass feature. Got a link?

xzyfer commented 7 years ago

It's not fully spec'd yet but this is a good summary - https://github.com/sass/sass/issues/1094

More can be found in https://github.com/sass/sass/labels/%40use