diff --git a/vite.config.ts b/vite.config.ts index de2fb43..946822b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,7 +9,8 @@ export default defineConfig({ VitePWA({ registerType: 'autoUpdate', workbox: { - globPatterns: ['**/*.{js,css,html,woff,json,png}'], + globPatterns: ['**/*.{js,css,html,woff,png}'], + globIgnores: ['**/data/**'], maximumFileSizeToCacheInBytes: 20 * 1024 * 1024, runtimeCaching: [ {