Fix disable caching of legacy js files
This commit is contained in:
parent
67615ff1a3
commit
9043707b6f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export default defineConfig({
|
|||
registerType: "autoUpdate",
|
||||
workbox: {
|
||||
globPatterns: ["**/*.{js,css,html,ico,svg,png}", "manifest.webmanifest"],
|
||||
globIgnores: ["**/*legacy.*.js"],
|
||||
globIgnores: ["**/*-legacy-*.js"],
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /https:\/\/[a-zA-Z./0-9_]*\.(?:otf|ttf)/i,
|
||||
|
|
Loading…
Reference in a new issue