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

Change cjs entry point target #432

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Change cjs entry point target #432

merged 1 commit into from
Oct 2, 2023

Conversation

Pessimistress
Copy link
Collaborator

Change commonjs entry point target from es2015 to node16. This will allow more modern JS features to be included without heavy transpilation and polyfill.

If the cjs entry point is required by Node, the current LTS is v18, and our modules' minimal required version is v16.
If the cjs entry point is required by a bundler, secondary transpilation will usually be applied anyways.

@Pessimistress Pessimistress merged commit b0c0795 into master Oct 2, 2023
1 check passed
@Pessimistress Pessimistress deleted the x/cjs-target branch October 2, 2023 22:39
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.

None yet

1 participant