@jkempema/gulp-sass-npm-importer
v1.0.4
Published
importer to get sass files from npm modules
Downloads
17
Readme
gulp-sass-npm-importer
Tool to import sass files from npm modules.
Usage
Gulp
var sassNpmImporter = require("gulp-sass-npm-importer");
gulp.task("styles", function() {
return gulp
.src("...")
.pipe(sass({
...
importer: sassNpmImporter
}))
.pipe(gulp.dest("..."));
});
Sass
@import "npm-module-name"; // import all sass files.
@import "npm-module-name/file-name" // import specific sass file. ( Do not include .scss )