fix: self-host ZXing WASM in static/ instead of ?url import
All checks were successful
CI / update (push) Successful in 4m32s
All checks were successful
CI / update (push) Successful in 4m32s
The zxing-wasm ?url import fails in Rollup production builds. Copy the WASM binary to static/fitness/ and reference it via absolute path in prepareZXingModule locateFile.
This commit is contained in:
BIN
static/fitness/zxing_reader.wasm
Normal file
BIN
static/fitness/zxing_reader.wasm
Normal file
Binary file not shown.
Reference in New Issue
Block a user