Skip to content

Commit 0bb0d51

Browse files
committed
Add explicit code split on matrix-sdk-crypto-wasm to allow caching between deploys
1 parent 13887a8 commit 0bb0d51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vite.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ export default defineConfig(({ mode }) => {
8282
// Default naming fallback
8383
return "assets/[name]-[hash][extname]";
8484
},
85+
manualChunks: {
86+
"matrix-sdk-crypto-wasm": ["@matrix-org/matrix-sdk-crypto-wasm"],
87+
},
8588
},
8689
},
8790
},

0 commit comments

Comments
 (0)