pd-gulp-sass
v0.1.0
Published
pd-gulp generator for sass/scss tasks
Downloads
3
Readme
#pd-gulp-sass
pd-gulp task generator for sass/scss tasks.
##Install
npm install --save pd-gulp-sass
##Example
var gulp = require('gulp');
var sass = require('pd-gulp-sass')(gulp);
// Register default tasks (default, watch, build, etc.)
sass.register({
myLib:{
src: './src/scss/*.{sass,scss}',
dest: './dist/css'
}
});
// Create custom gulp-task
gulp.task('customSass', sass({
custom: {
src: './src/scss/*.{sass,scss}',
dest: './dist/css'
}
}));
##Options
sass
Configuration object for gulp-sassautoprefixer
Configuration object for gulp-autoprefixerlivereload
Configuration object for gulp-livereloadminify
Configuration object for gulp-minify-csswatch
True or path which will be observed.