Skip to content

Consider adding support for importing using ESM #107

@TomasHubelbauer

Description

@TomasHubelbauer

Hello, I am not entirely sure this is possible, but reading through this article it seems like it should be possible to import CJS modules from ESM.

I'd like to request that, if possible, support be added for jsQR to be import-able in ESM:

import jsQR from 'https://unpkg.com/jsqr/dist/jsQR.js';

I would have contributed a PR, but I have no idea how to achieve this. I am interested in your thoughts on the topic and whether you think this is achieveable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions