I want to code splitting of several routes together. For ex home and widgets in bundle1.js, survery and about in bundle2.js and login in bundle3.js.
So that when I refresh home page it will load only bundle1.js, on going to widgets page it will show widgets without getting additional files as Single page application.
When user clicks on survery it will download bundle2.js and show that page and so on. In this process page size will be kept low even as grows larger.
Production webpack link is https://github.com/erikras/react-redux-universal-hot-example/blob/master/webpack/prod.config.js