From 9043707b6fa58013fefb53f3773264d6986dc54c Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 26 Jan 2023 00:21:38 +0000 Subject: [PATCH] Fix disable caching of legacy js files --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 9a6ebaef..6ca7a174 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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,