A Webpack Starter Kit, bundled with -
- Babel (es2015 preset)
- JavaScript & CSS minification
- CSS Reset
- CSS Hot Loader
- CSS Loader
- Sass Loader
git clone https://github.com/Ardethian/webpack-starter && cd webpack-starter
- Simply use
yarn
ornpm install
-
Start DevServer -
yarn run dev
ornpm run dev
- Enables JavaScript and CSS Source Maps
- Disables JS & CSS minification
- Enables hot reloading
-
Build for production -
yarn run build
ornpm run build
- Disables Source Maps
- Enables JS & CSS minification
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/