We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74eb65a commit a5c83acCopy full SHA for a5c83ac
packages/react-scripts/config/webpack.config.js
@@ -277,7 +277,10 @@ module.exports = function(webpackEnv) {
277
},
278
// Keep the runtime chunk separated to enable long term caching
279
// https://twitter.com/wSokra/status/969679223278505985
280
- runtimeChunk: true,
+ // https://github.com/facebook/create-react-app/issues/5358
281
+ runtimeChunk: {
282
+ name: entrypoint => `runtime-${entrypoint.name}`,
283
+ },
284
285
resolve: {
286
// This allows you to set a fallback for where Webpack should look for modules.
0 commit comments