From b11c1f4899500031f2ee83f3cc07d8f7ea6bebf5 Mon Sep 17 00:00:00 2001 From: Will Farley Date: Wed, 31 May 2017 11:28:11 -0700 Subject: [PATCH] Update sw-precache-webpack-plugin to v0.11.3 --- packages/react-scripts/config/webpack.config.prod.js | 3 --- packages/react-scripts/package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 5943c14502c..d076074aee8 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -327,9 +327,6 @@ module.exports = { navigateFallbackWhitelist: [/^(?!\/__).*/], // Don't precache sourcemaps (they're large) and build asset manifest: staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/], - // Work around Windows path issue in SWPrecacheWebpackPlugin: - // https://github.com/facebookincubator/create-react-app/issues/2235 - stripPrefix: paths.appBuild.replace(/\\/g, '/') + '/', }), // Moment.js is an extremely popular library that bundles large locale files // by default due to how Webpack interprets its code. This is a practical diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index e6879f756af..a4a2a13f33c 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -51,7 +51,7 @@ "react-dev-utils": "^3.0.0", "react-error-overlay": "^1.0.7", "style-loader": "0.17.0", - "sw-precache-webpack-plugin": "0.9.1", + "sw-precache-webpack-plugin": "^0.11.3", "url-loader": "0.5.8", "webpack": "2.6.1", "webpack-dev-server": "2.4.5",