Skip to content

Consider removing UMD bundle #336

@ptomato

Description

@ptomato

Suggestion from a conversation with @43081j, who said that most users will fall into one of these 3 groups:

  • Browser
  • node <=18 and/or no type: "module" in their package.json
  • node >18 and/or type: "module" in their package.json

The first and third of these groups can use the ES module bundle, while the second group requires a CommonJS bundle. We may only need the UMD bundle if we really need to support ES5. That was certainly a requirement when we started this polyfill, but might not be anymore.

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