Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 3d6ebe7

Browse files
goldhandwmonk
authored andcommitted
Update sw-precache-webpack-plugin to lastest version (#2429)
* Update sw-precache-webpack-plugin to v0.11.3 * Pin the version
1 parent 936fb90 commit 3d6ebe7

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
@@ -311,9 +311,6 @@ module.exports = {
311311
navigateFallbackWhitelist: [/^(?!\/__).*/],
312312
// Don't precache sourcemaps (they're large) and build asset manifest:
313313
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
314-
// Work around Windows path issue in SWPrecacheWebpackPlugin:
315-
// https://github.com/facebookincubator/create-react-app/issues/2235
316-
stripPrefix: paths.appBuild.replace(/\\/g, '/') + '/',
317314
}),
318315
// Moment.js is an extremely popular library that bundles large locale files
319316
// 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
@@ -48,7 +48,7 @@
4848
"tslint-react": "^3.0.0",
4949
"typescript": "~2.4.0",
5050
"source-map-loader": "^0.2.1",
51-
"sw-precache-webpack-plugin": "0.9.1",
51+
"sw-precache-webpack-plugin": "0.11.3",
5252
"url-loader": "0.5.8",
5353
"webpack": "2.6.1",
5454
"webpack-dev-server": "2.4.5",

0 commit comments

Comments
 (0)