This commit is contained in:
2026-07-08 18:29:36 +08:00
parent ad51ced86c
commit 3af8ff9b80
1613 changed files with 701644 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
let w;
/**
* Lazyily get the WebAssembly module. Used to avoid unnecessarily importing
* the wasm when extending the WebAssembly node code for native bindings.
*/
export const getWasm = () => {
if (!w) {
w = require('../../dist/wasm/nodejs/blake3_js');
}
return w;
};
//# sourceMappingURL=wasm.js.map