blob: 9d4caa56da80d9ec9176183fb22beb1467aca70a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
let w;
/**
* Lazyily get the WebAssembly module. Used to avoid unnecessarily importing
* the wasm when extending the WebAssembly node code for native bindings.
*/
exports.getWasm = () => {
if (!w) {
w = require('../../dist/wasm/nodejs/blake3_js');
}
return w;
};
//# sourceMappingURL=wasm.js.map
|