Skip to content

Commit

Permalink
Error stub require, cleans up webpack warnings (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Feb 15, 2019
1 parent d4e08f1 commit dd77c3c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ module.exports.__wbg_getRandomValues_95cef5eed1acafda = function(arg0, arg1, arg

module.exports.__wbg_require_86edd37cfda5f13d = function(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);
return addHeapObject(require(varg0));
// return addHeapObject(require(varg0));
throw new Error(`Invalid require from WASM for ${varg0}`);
};

module.exports.__wbg_randomFillSync_571502126f344d60 = function(arg0, arg1, arg2) {
Expand Down

0 comments on commit dd77c3c

Please sign in to comment.