gulp-query-webpack-buble
Webpack plugin for gulp-query
Uses bubel-loader, style-loader, css-loader and sass-loader
Webpack with a single line of code using Bublé
P.S. Bublé is the blazing fast, batteries-included ES2015 compiler
Supports:
- ES2017, React + modules compilation
- Tree-shaking, new in webpack 2 (removes unused library code)
- Import
.scss
and.css
in js
npm install gulp-query gulp-query-webpack-buble
Example
Paste the code into your gulpfile.js
and configure it
let build = webpack = ;;
And feel the freedom
gulp
gulp --production // For production
gulp watch // Watching change
gulp webpack // Only for webpack
gulp webpack:app // Only for app.js
gulp webpack:admin webpack:main watch // Watching change only for admin.js and main.js
...
Options