Example project showing how to integrate Webpack with Babel
To keep the setup simple and focused on the actual transpiling of ES2015 to ES5 I have not made use of the webpack-dev-server. To see the results of the transpiling, simply follow the following 3 steps:
- npm install
- npm run watch
- open index.html in your preferred browser