Skip to content

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

@treeder

Description

@treeder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions