Absolutely Minimal Setup for Webpack that works.
- Most setups are bloated with unnecessary options.
- Start clean and minimal and extend as you go.
- Minimal functional Webpack config file.
- Minimal testing example.
Create new directory:
mkdir new-directory && cd new-directory
Install the package:
npm install min-webpack --save
Run webpack and open the demo HTML file:
webpack && open demo/index.html