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 William Monk
parent 936fb90c37
commit 3d6ebe71d6
2 changed files with 1 additions and 4 deletions

View File

@@ -311,9 +311,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

@@ -48,7 +48,7 @@
"tslint-react": "^3.0.0",
"typescript": "~2.4.0",
"source-map-loader": "^0.2.1",
"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",