feat: migrate PDF417 barcode decoder from @zxing/browser to zxing-wasm

Replace @zxing/browser with zxing-wasm for better performance and smaller WebAssembly bundle size (919KB). Added middleware exclusion for .wasm files to prevent i18n routing interference.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-19 18:01:44 +01:00
parent 7467f9d595
commit 5b0497891a
7 changed files with 481 additions and 5 deletions

View File

@@ -41,7 +41,8 @@
"tailwindcss": "^3.4.0",
"typescript": "5.2.2",
"use-debounce": "^10.0.0",
"zod": "^3.22.2"
"zod": "^3.22.2",
"zxing-wasm": "^2.2.4"
},
"devDependencies": {
"@types/bcrypt": "^5.0.1",