diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index 65c7e15..b74267a 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -321,7 +321,7 @@ module.exports = { // https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219 navigateFallbackWhitelist: [/^(?!\/__).*/], // Don't precache sourcemaps (they're large) and build asset manifest: - staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/], + staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/, /index\.html$/], }), // Moment.js is an extremely popular library that bundles large locale files // by default due to how Webpack interprets its code. This is a practical