Skip to content

Commit 9a39ba0

Browse files
authored
Merge pull request #2155 from null-dev/andyb/zxing-optim
perf: only load reader portion of zxing-wasm
2 parents 5885c7e + 96333e7 commit 9a39ba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/scanner/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BarcodeType } from "@prisma/client";
2-
import { readBarcodes, type ReadResult } from "zxing-wasm";
2+
import { readBarcodes, type ReadResult } from "zxing-wasm/reader";
33
import {
44
validateBarcodeValue,
55
normalizeBarcodeValue,

0 commit comments

Comments
 (0)