Dvhb Webpack with zero initial configuration
- Babel, ES2015 + modules, Stage 0 preset
- Optional static views with pug template engine (for static websites)
Install in existing project
npm install --save-dev @dvhb/webpack
Add scripts to package.json
"start": "dvhb-webpack server",
"build": "dvhb-webpack build"
See basic starter project for more details examples/basic.
- Add code to
- Build and watch changes in
- Open localhost:3000