Name webpack chunks from react-loadable. I found the solution. I needed to add the chunkFilename line to my webpack config:
1 2 3 4 5 6 | output: { path: path.join(__dirname, './../public'), filename: 'bundle.js', publicPath: '/', chunkFilename: '[name].[chunkhash].js' }, |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.