Skip to content

Commit

Permalink
Add explicit code split on matrix-sdk-crypto-wasm to allow caching be…
Browse files Browse the repository at this point in the history
…tween deploys (#2823)

* Add explicit code split on matrix-sdk-crypto-wasm to allow caching between deploys

* Comment on removing once matrix-org/matrix-rust-sdk-crypto-wasm#167 lands
  • Loading branch information
hughns authored Nov 23, 2024
1 parent fc8da6e commit 0469d8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export default defineConfig(({ mode }) => {
// Default naming fallback
return "assets/[name]-[hash][extname]";
},
manualChunks: {
// we should be able to remove this one https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/167 lands
"matrix-sdk-crypto-wasm": ["@matrix-org/matrix-sdk-crypto-wasm"],
},
},
},
},
Expand Down

0 comments on commit 0469d8e

Please sign in to comment.