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.