Module format "cjs" does not support top-level await. Use the "es" or "system" output formats rather.
file: D:/temp/siyuan-plugin-crdt/node_modules/.pnpm/registry.npmmirror.com+loro-wasm@0.4.3/node_modules/loro-wasm/bundler/loro_wasm_bg.wasm
Will commonJS support be considered in the future?
ps: I've used vite-plugin-wasm, vite-plugin-top-level-await
the following is my vite.config.ts :
vite.config.ts
The following error message is displayed:
Will commonJS support be considered in the future?
ps: I've used vite-plugin-wasm, vite-plugin-top-level-await
the following is my vite.config.ts :
vite.config.ts
Finally, thank you for making such a great library.