A simple Webpack demo using multiple configs and webpack-dev-server
| Folder | Description |
|---|---|
| dist | distribution folder |
| public | HTML templates |
| src/app | javascript source code |
| src/style | style source code |
Install npm (or install Node):
curl -L https://www.npmjs.com/install.sh | shnpm iServes the app at localhost:8080:
npm run startBuilds the app in the distribution folder:
npm run build