Skip to content
  • Sponsor facebook/create-react-app

  • Notifications You must be signed in to change notification settings
  • Fork 27k
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b11c1f4

Browse files
committedJun 2, 2017
Update sw-precache-webpack-plugin to v0.11.3
1 parent d1f37d9 commit b11c1f4

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)
Please sign in to comment.