gulp-query-webpack
Webpack plugin for gulp-query
Uses babel-loader, style-loader, css-loader and sass-loader
Webpack with a single line of code.
Supports:
- Webpack 4 + Babel
- Import
.scss
ans.css
in js - Decorators, dynamic import, class properties, object rest spread
- Custom config for Babel
P.S. Try gulp-query-webpack-buble with the blazing fast, batteries-included ES2015 compiler
npm install gulp-query gulp-query-webpack
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