gulp-query-scss
SCSS plugin for gulp-query
Uses cssnano with autoprefixer for optimization
This plugin provides automatic source maps, compiling Sass into CSS, autoprefixing and minification. Write your CSS rules without vendor prefixes — autoprefixer will do everything itself
npm install gulp-query gulp-query-scss
Example
Paste the code into your gulpfile.js
and configure it
let build = scss = ;;
And feel the freedom
gulp
gulp --production // For production
gulp watch // Watching change
gulp scss // Only for scss
gulp scss:app // Only for app.scss
gulp scss:admin scss:main watch // Watching change only for admin.scss and main.scss
...
Options