Default vite config to support using local build of crypto wasm (#3038)

* Devex: Default vite config to support using local build of crypto wasm

* use realpathSync and make it work with linked and not-linked
We need to use sync because an async defineConfig fails for the embedded exports.

* also allow just linking matrix-sdk-crypto-wasm (without js-sdk linking)
---------

Co-authored-by: Timo <toger5@hotmail.de>
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Valere Fedronic
2025-04-04 23:24:42 +02:00
committed by GitHub
parent 46f059947b
commit bc0ea20343
2 changed files with 19 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ export function getRelativeRoomUrl(
}
/**
* Perfom a network operation with retries on ConnectionError.
* Perform a network operation with retries on ConnectionError.
* If the error is not retryable, or the max number of retries is reached, the error is rethrown.
* Supports handling of matrix quotas.
*/