fix: further wasm loading fixes

This commit is contained in:
Derrick Hammer 2023-07-18 11:07:58 -04:00
parent e0458a05c0
commit d7d146b78d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@ export default async function (imports) {
let wasm = await import("./wasm/bao.wasm?init");
wasm = wasm.default || wasm;
wasm = await wasm(imports);
return wasm.instance;
return wasm;
}