(Fix) Don't precache index.html

This commit is contained in:
Vadim Arasev 2018-06-26 09:29:54 +03:00
parent 7c8065e996
commit b6474818a0
1 changed files with 1 additions and 1 deletions

View File

@ -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