stomt / gulp-modular

Boilerplate gulp tasks for quick project setup.
MIT License
10 stars 0 forks source link

...would change sass globbing library #54

Open philippzentner opened 8 years ago

philippzentner commented 8 years ago

britco/node-sass-globbing seems not compatible with node-sass 3.8.6 - globbing does not work anymore.

Perhaps you could switch to another library: https://www.npmjs.com/package/node-sass-glob-once https://github.com/lucasmotta/sass-glob-importer

niklaszantner commented 8 years ago

I just rechecked the functionality of sass-globbing with node-sass 3.8.0 (which seems to be the latest release to me?) and it looks like everything is working fine, stylewise.

We had an error, that the globbing was not working like 2 months ago and simply fixed it by changing

@import "app/components/**/*.scss";

to

@import "components/**/*.scss";

.. to use the relative path of the file the import statement is placed in, instead of the absolute path of the project (thanks to @felixsteghofer for finding fixing one!). Maybe that could help you?

philippzentner commented 8 years ago

Thanks we already figured that out. In our case we had to replace "app" with "../"