mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-21 05:20:19 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user