We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c83ac commit fb95a3eCopy full SHA for fb95a3e
packages/react-scripts/config/webpack.config.js
@@ -592,9 +592,10 @@ module.exports = function(webpackEnv) {
592
),
593
// Inlines the webpack runtime script. This script is too small to warrant
594
// a network request.
595
+ // https://github.com/facebook/create-react-app/issues/5358
596
isEnvProduction &&
597
shouldInlineRuntimeChunk &&
- new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime~.+[.]js/]),
598
+ new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime-.+[.]js/]),
599
// Makes some environment variables available in index.html.
600
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
601
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
0 commit comments