From 330ce10b4d85dbe7879bcb982855eb3f72e6ec28 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 6 Sep 2025 20:44:48 +0200 Subject: [PATCH] Include wasm --- page/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/vite.config.ts b/page/vite.config.ts index dc78b2be..99a4d690 100644 --- a/page/vite.config.ts +++ b/page/vite.config.ts @@ -40,7 +40,7 @@ export default defineConfig({ }, workbox: { maximumFileSizeToCacheInBytes: 100 * mb, - globPatterns: ["**/*.{js,css,html,woff,woff2}"], + globPatterns: ["**/*.{js,css,html,woff,woff2,wasm}"], runtimeCaching: [ generateExternalCache( /^https:\/\/momo5502\.com\/.*/i,