summaryrefslogtreecommitdiff
path: root/src/wasm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.ts')
-rw-r--r--src/wasm.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.ts b/src/wasm.ts
index cf7b552..4a8d3c8 100644
--- a/src/wasm.ts
+++ b/src/wasm.ts
@@ -1,5 +1,5 @@
import { instantiate } from '../build/out.js';
-import url from '../build/out.wasm';
+import module from '../build/out.wasm';
export const {
memory,
mathS, mathV, mathSS, mathSV, mathVS, mathVV,
@@ -7,4 +7,4 @@ export const {
intersperse,
unzip,
fft,
-} = await instantiate(await WebAssembly.compileStreaming(fetch(url)), {}); \ No newline at end of file
+} = await instantiate(await WebAssembly.compileStreaming(fetch(module)), { env: {} }); \ No newline at end of file