Skip to content

[Feature] ESM Support #35

@Ezard

Description

@Ezard

Would you be open to building the project as both a CommonJS package and an ESM package?
This way, users who bundle their code can benefit from tree-shaking (and the Node ecosystem is moving in this direction in general)

This should be a fairly simple change that can be handled purely via tsconfig i.e. no code changes required

Since the project will be built as both CJS and ESM, any projects that can only consume CJS packages will still work without any issues

I'm happy to submit a PR for this if wanted :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions