Updated barcode-detector lib and wasm in background

This commit is contained in:
Jan Böhmer 2025-08-03 21:19:19 +02:00
parent a691be6584
commit 883d38ecfc
3 changed files with 26 additions and 26 deletions

View file

@ -49,7 +49,7 @@ window.$ = window.jQuery = require("jquery");
//Use the local WASM file for the ZXing library
import {
setZXingModuleOverrides,
} from "barcode-detector/pure";
} from "barcode-detector/ponyfill";
import wasmFile from "../../node_modules/zxing-wasm/dist/reader/zxing_reader.wasm";
setZXingModuleOverrides({
locateFile: (path, prefix) => {
@ -58,4 +58,4 @@ setZXingModuleOverrides({
}
return prefix + path;
},
});
});