We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10de34b commit fab4314Copy full SHA for fab4314
cmd/workers-assets-gen/assets/runtime/browser.mjs
@@ -1,5 +1,7 @@
1
+const modPromise = WebAssembly.compileStreaming(fetch("./build/app.wasm"));
2
+
3
export async function loadModule() {
- return await WebAssembly.compileStreaming(fetch("./build/app.wasm"));
4
+ return await modPromise;
5
}
6
7
export function createRuntimeContext({ binding }) {
0 commit comments