Really fix "dep as expression" (webpack) (#308)

This commit is contained in:
Jaco Greeff
2019-02-15 10:27:59 +01:00
committed by GitHub
parent 04efe3e02d
commit 74b37cfff8
@@ -1,4 +1,5 @@
/* tslint:disable */
const schnorrkelWasm = require('./schnorrkel_js_bg');
var wasm;
let cachegetUint8Memory = null;
@@ -257,7 +258,7 @@ module.exports.isReady = function () {
return !!wasm;
}
const wasmPromise = require('./schnorrkel_js_bg')(module.exports);
const wasmPromise = schnorrkelWasm(module.exports);
module.exports.waitReady = function () {
return wasmPromise.then(() => true);