Webpack config for Code splitting not working for production build
So after all this time, after upgrading Typescript and Webpack, it turns out that using the CommonsChunk plugin was screwing it up somehow.
Have not yet investigated why, but commenting out the following worked:
// new webpack.optimize.CommonsChunkPlugin({// name: 'vendor',// minChunks: function (module) {// return module.context && module.context.indexOf('node_modules') !== -1;// }// }),