revoke(i18n): remove cache language pack in service worker

This commit is contained in:
Darren Yu 2025-09-04 20:27:18 +08:00
parent bbcf3a22d3
commit e8b2e71f2b
No known key found for this signature in database
GPG Key ID: 2D69AA5646405984

View File

@ -19,7 +19,6 @@ export default defineConfig({
workbox: {
maximumFileSizeToCacheInBytes: 10000000,
navigateFallbackDenylist: [/^\/pdfviewer.html/, /^\/api\/(.+)/, /^\/f\/(.+)/, /^\/s\/(.+)/],
globPatterns: ["**/*.{js,css,html}", "locales/**/*.json"],
},
devOptions: {
enabled: true,