Skip to content

Commit 7de7027

Browse files
goldhandmorgs32
authored andcommitted
Update sw-precache-webpack-plugin to lastest version (facebook#2429)
* Update sw-precache-webpack-plugin to v0.11.3 * Pin the version
1 parent a457979 commit 7de7027

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/react-scripts/config/webpack.config.prod.js

-3
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,6 @@ module.exports = {
327327
navigateFallbackWhitelist: [/^(?!\/__).*/],
328328
// Don't precache sourcemaps (they're large) and build asset manifest:
329329
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
330-
// Work around Windows path issue in SWPrecacheWebpackPlugin:
331-
// https://github.com/facebookincubator/create-react-app/issues/2235
332-
stripPrefix: paths.appBuild.replace(/\\/g, '/') + '/',
333330
}),
334331
// Moment.js is an extremely popular library that bundles large locale files
335332
// by default due to how Webpack interprets its code. This is a practical

packages/react-scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"react-dev-utils": "^3.0.0",
5252
"react-error-overlay": "^1.0.7",
5353
"style-loader": "0.17.0",
54-
"sw-precache-webpack-plugin": "0.9.1",
54+
"sw-precache-webpack-plugin": "0.11.3",
5555
"url-loader": "0.5.8",
5656
"webpack": "2.6.1",
5757
"webpack-dev-server": "2.4.5",

0 commit comments

Comments
 (0)