Skip to content

Conversation

@robertknight
Copy link
Member

@robertknight robertknight commented Apr 13, 2022

Set the JS version targeted by the CommonJS build to be the same as the ESM build (ES 2020). This reduces the complexity of the testing matrix.

Also remove the Array.flatMap polyfill. This is included in ES2020 and has been supported natively since Node v11, Chrome 69, Firefox 62 and Safari 12.

Target the same ES version (2020) when building the CommonJS output as
for ESM. This reduces the complexity of the build matrix.
This has been supported natively since Node v11, Chrome 69, Firefox 62
and Safari 12.
@robertknight robertknight force-pushed the remove-array-flatmap-polyfill branch from 81d3272 to bba20d8 Compare April 13, 2022 09:22
@robertknight robertknight changed the title Remove Array.flatMap polyfill Update CommonJS build target to ES 2020 and remove Array.flatMap polyfill Apr 13, 2022
@robertknight robertknight merged commit 5d7d245 into master Apr 13, 2022
@robertknight robertknight deleted the remove-array-flatmap-polyfill branch April 13, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants