We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60145f9 commit f2b3fa3Copy full SHA for f2b3fa3
packages/react-scripts/config/webpack.config.prod.js
@@ -343,8 +343,8 @@ module.exports = {
343
navigateFallbackWhitelist: [/^(?!\/__).*/],
344
// Don't precache sourcemaps (they're large) and build asset manifest:
345
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
346
- // Precache files in public/, and allow them to be accessed directly
347
- staticFileGlobs: [paths.appPublic + '/**/*'],
+ // Precache likely navigation targets in public/
+ staticFileGlobs: [paths.appPublic + '/**/*.html'],
348
mergeStaticsConfig: true,
349
stripPrefix: paths.appPublic,
350
}),
0 commit comments