Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CommonJS build target to ES 2020 and remove Array.flatMap polyfill #166

Merged
merged 2 commits into from
Apr 13, 2022

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 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.

1 participant