Update sw-precache-webpack-plugin to lastest version (#2429)

* Update sw-precache-webpack-plugin to v0.11.3

* Pin the version
This commit is contained in:
Will Farley
2017-06-26 09:29:52 -07:00
committed by Dan Abramov
parent 76bd132157
commit 3e9955ddb6
2 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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",