Skip to content

FR: Add ESM support #192

@jasikpark

Description

@jasikpark

Now that Node.js supports require()ing ESM modules, it's possible to write ESM-only and support both CJS and ESM bundlers.

https://antfu.me/posts/move-on-to-esm-only

Regardless of whether y'all go that way, it'd be great if the package supported ESM as an import version.

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