browser icon indicating copy to clipboard operation
browser copied to clipboard

Add '.js' to all imports so this works without special processing

Open treeder opened this issue 2 years ago • 0 comments

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:

image

treeder avatar Sep 20 '23 17:09 treeder