gulp-query-js
JS plugin for gulp-query
This plugin provides automatic source maps, concatenation, minification and compiling with Babel.
P.S. Try gulp-query-js-buble with the blazing fast, batteries-included ES2015 compiler
npm install gulp-query gulp-query-js
Example
Paste the code into your gulpfile.js
and configure it
let build = js = ;;
And feel the freedom
gulp
gulp --production // For production (minification)
gulp watch // Watching change
gulp js // Only for js
gulp js:app // Only for app.js
gulp js:admin js:main watch // Watching change only for admin.js and main.js
...
Options