We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c749de7 commit 22ca584Copy full SHA for 22ca584
packages/react-scripts/config/webpack.config.prod.js
@@ -319,6 +319,9 @@ module.exports = {
319
minify: true,
320
navigateFallback: publicUrl + '/index.html',
321
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
322
+ // Work around Windows path issue in SWPrecacheWebpackPlugin:
323
+ // https://github.com/facebookincubator/create-react-app/issues/2235
324
+ stripPrefix: path.join(paths.appBuild).replace(/\\/g, '/'),
325
}),
326
// Moment.js is an extremely popular library that bundles large locale files
327
// by default due to how Webpack interprets its code. This is a practical
0 commit comments