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

Add deno compilation target #14944

Merged
merged 3 commits into from Oct 26, 2022
Merged

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Sep 16, 2022

Q                       A
Fixed Issues? support deno as a compilation target
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link babel/website#2680
Any Dependency Changes?
License MIT

In this PR we add deno compat data sourced from the compat-table. Now preset-env recognizes deno as a compilation target:

{
  "presets": [["env", { "targets": { "deno": "1.0" } }]]
}

Unlike node, deno: "current" is not yet supported because Babel does not support deno.

@JLHwung JLHwung added PR: New Feature 🚀 A type of pull request used for our changelog categories pkg: compat-data labels Sep 16, 2022
@JLHwung JLHwung added this to the 7.20.0 milestone Sep 16, 2022
@babel-bot
Copy link
Collaborator

babel-bot commented Sep 16, 2022

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/53250/

@liuxingbaoyu liuxingbaoyu added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Sep 17, 2022
@zloirock
Copy link
Member

zloirock commented Sep 19, 2022

What about adding Hermes that's in compat-table and core-js-compat for a long time?

@zloirock
Copy link
Member

#14831

@JLHwung
Copy link
Contributor Author

JLHwung commented Oct 26, 2022

✔️ for the recent rebase. @liuxingbaoyu Thanks.

@nicolo-ribaudo nicolo-ribaudo merged commit 745eacc into babel:main Oct 26, 2022
@nicolo-ribaudo nicolo-ribaudo deleted the add-deno-compat-data branch October 26, 2022 19:37
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jan 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: compat-data PR: New Feature 🚀 A type of pull request used for our changelog categories PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants