JavaScript HTML

webpack ES6 demo

A small demo project that shows how to use webpack for client-side development in ECMAScript 6.


  • Install node
  • run npm install


  • npm run watch to start Webpack in watch mode - will recompile when you change a file.
  • open index.html in a browser.
  • Change or add files in es6 folder. main.js is the entry point.
  • Reload the browser when you have made a change.