Skip to content

Commit 5b99cba

Browse files
committed
ref(build): do not export bytes
1 parent e5ee619 commit 5b99cba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/bundle-wasm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const wasm = await Deno.readFile("clayterm.wasm");
44
const base64 = encodeBase64(wasm);
55

66
const source = `const bin = atob("${base64}");
7-
export const bytes = new Uint8Array(bin.length);
7+
const bytes = new Uint8Array(bin.length);
88
for (let i = 0; i < bin.length; i++) bytes[i] = bin.charCodeAt(i);
99
export const compiled = await WebAssembly.compile(bytes);
1010
`;

0 commit comments

Comments
 (0)