fix: further wasm loading fixes
This commit is contained in:
parent
e0458a05c0
commit
d7d146b78d
|
@ -13,5 +13,5 @@ export default async function (imports) {
|
||||||
let wasm = await import("./wasm/bao.wasm?init");
|
let wasm = await import("./wasm/bao.wasm?init");
|
||||||
wasm = wasm.default || wasm;
|
wasm = wasm.default || wasm;
|
||||||
wasm = await wasm(imports);
|
wasm = await wasm(imports);
|
||||||
return wasm.instance;
|
return wasm;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue