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.
Suggestion from a conversation with @43081j, who said that most users will fall into one of these 3 groups:
type: "module"in their package.jsontype: "module"in their package.jsonThe 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.