Skip to content

ESM-only #2296

@sakgoyal

Description

@sakgoyal

Is there an existing issue for this?

  • I've searched for any related issues and avoided creating a duplicate issue.

Description

I know this has been discussed a little in #1886, but I wanted to know your thoughts on shipping ESM only. All platforms support ESM from the past 10 years as far as I understand.

I don't see why we still need to ship CJS. it increases bundle sizes too. why not raise the bar for library support?

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