I'm setting up a bunch of projects:
- all of the projects that have any styles ahve sass sources and use node-sass to compile them
- most of the project use webpack so it's natural for me to choose import-glob-loader
- some projects don't use webpack and I already have working setup with
britco/node-sass-globbing as node-sass importer
After analysing the source code of both projects it looks like they do more or less the same: they turn single import line to multiple lines expanded by node-glob
My question is:
@Aintaer were you aware of existence of node-sass-globbing at the time this project was started? If so: what is the advantage of using loader rather than importer right in node-sass?
I'm not yet proficient in WebPack so I'm not able to answer the 2nd part of the question myself
I'm setting up a bunch of projects:
britco/node-sass-globbingas node-sass importerAfter analysing the source code of both projects it looks like they do more or less the same: they turn single import line to multiple lines expanded by
node-globMy question is:
@Aintaer were you aware of existence of node-sass-globbing at the time this project was started? If so: what is the advantage of using loader rather than importer right in node-sass?
I'm not yet proficient in WebPack so I'm not able to answer the 2nd part of the question myself