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