sass-bulk-import-loader
This loader for Webpack is based on gulp-sass-bulk-import by Matthew Conlen
installation
npm install --save-dev sass-bulk-import-loader
usage
; // becomes // @import "some/path/file1.scss"; // @import "some/path/file2.scss"; // ...
then add loader to require
call
;
or webpack config
test: /\.scss$/ loader: 'style!css!sass!sass-bulk-import'
enjoy