How to split your app by routes with Webpack You can read the article or just follow the commits. If you're migrating from Webpack 1 to Webpack 2+, please see this PR. How to run it localy: npm install npm run open localhost:8080