1.0.2 • Published 8 years ago
@ardethian/webpack-starter v1.0.2
Webpack Starter
A Webpack Starter Kit, bundled with -
- Babel (es2015 preset)
- JavaScript & CSS minification
- CSS Reset
- CSS Hot Loader
- CSS Loader
- Sass Loader
Installing
git clone https://github.com/Ardethian/webpack-starter && cd webpack-starter- Simply use
yarnornpm install
Scripts
Start DevServer -
yarn run devornpm run dev- Enables JavaScript and CSS Source Maps
- Disables JS & CSS minification
- Enables hot reloading
Build for production -
yarn run buildornpm run build- Disables Source Maps
- Enables JS & CSS minification
Multiple Output and Entry Points
To add more files to your bundle or create extra bundles (for example, vendor bundles), see the Webpack documentation about Entry Points and Output.
Cheers \m/