Skip to content

Commit

Permalink
make roll-vendored-twsearch
Browse files Browse the repository at this point in the history
This resolves #298 for now.
  • Loading branch information
lgarron committed Oct 28, 2023
1 parent 222d160 commit de430a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cubing/vendor/mpl/twsearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ async function __wbg_init(input) {
if (wasm !== void 0)
return wasm;
if (typeof input === "undefined") {
input = new URL("twsearch_wasm_bg.wasm", import.meta.url);
throw new Error("Default `wasm-pack` WASM loading code path triggered! This is currently not supported for `twsearch` due to incompatibility with some bundlers.");
}
const imports = __wbg_get_imports();
if (typeof input === "string" || typeof Request === "function" && input instanceof Request || typeof URL === "function" && input instanceof URL) {
Expand Down

0 comments on commit de430a8

Please sign in to comment.