undecaf / barcode-detector-polyfill

A WebAssembly polyfill for the Barcode Detection API
MIT License
112 stars 14 forks source link

[BUG] Source map not found #12

Closed luanmm closed 1 year ago

luanmm commented 1 year ago

Describe the bug

The final build does not publish a valid source map, but the main script file references it:

//# sourceMappingURL=index.js.map

To Reproduce

N/A

Expected behavior

Should be produced/published a valid source map file (index.js.map) or the reference for the file should be removed from the main script file.

Edit: this applies to @undecaf/zbar-wasm package also.