mosaic-gulp-task-sass
v1.0.3
Published
Gulp task that compiles Sass to CSS using gulp-sass with support for source maps.
Downloads
101
Keywords
Readme
gulp-task-sass
Compiles Sass to CSS using gulp-sass. Supports source map generation using gulp-sourcemaps.
Install
npm install --save-dev mosaic-gulp-task-sass
Usage
var gulp = require("gulp");
var sass = require("mosaic-gulp-task-sass");
// Compile Sass files in the assets folder to the public folder
gulp.task("sass", function() {
gulp.src("./assets/*.scss")
.pipe(sass({
sourceMaps: true
}))
.pipe(gulp.dest("./public"));
});
License
MIT