browser
browser copied to clipboard
Add '.js' to all imports so this works without special processing
Loading the ESM build from a CDN results in a ton of 404 errors (one for every import) since this lib isn't using full paths with .js extension.
Eg: https://cdn.jsdelivr.net/npm/@zxing/[email protected]/esm/index.js
Results in: