chore: 升级workbox-webpack-plugin

pull/81/head
moonrailgun 3 years ago
parent 8c53510fb0
commit e449bf9dac

File diff suppressed because it is too large Load Diff

@ -104,6 +104,7 @@ const plugins: Configuration['plugins'] = [
urlPattern: /\.(?:png|jpg|jpeg|svg)$/,
// Apply a cache-first strategy.
// Reference: https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-strategies
handler: 'CacheFirst',
options: {

@ -80,7 +80,6 @@
"@types/webpack": "^5.28.0",
"@types/webpack-bundle-analyzer": "^4.4.1",
"@types/webpack-dev-server": "^4.3.1",
"@types/workbox-webpack-plugin": "^5.1.8",
"autoprefixer": "^10.2.6",
"bundle-stats-webpack-plugin": "^3.2.9",
"copy-webpack-plugin": "^9.0.1",
@ -112,6 +111,6 @@
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1",
"workbox-webpack-plugin": "^6.3.0"
"workbox-webpack-plugin": "^6.5.1"
}
}

Loading…
Cancel
Save