- Install deps
npm i
npm i --only=dev
- Start server
npm start
- Open http://localhost:3000
- Edit app.js in src folder and save
- Watch your changes appearing on the page
- Install webpack globally
npm i -g webpack
- Run build process (it will clean previous build)
npm build
bundle.js
can be found indist
folder