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

Partial revert of changes needed to build with Babel 8 #16036

Merged
merged 1 commit into from Oct 13, 2023

Conversation

nicolo-ribaudo
Copy link
Member

Q                       A
License MIT

This PR isn't actually necessary for us, other than for using @babel/core/cjs-proxy.cjs in a real-world case and thus making sure that it does not break (rather than just relying on unit tests).

However, I was trying to use Babel as an example of a big project that requires no changes for their users when going from CJS to ESM, and I noticed that in #15846 we did require a change: we had to remove the require("@babel/core"). However, thanks to #15137 we don't actually need to do that and I'd like to show it :)

@babel-bot
Copy link
Collaborator

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

@nicolo-ribaudo nicolo-ribaudo merged commit a345a10 into babel:main Oct 13, 2023
46 of 47 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the top-level-core-require branch October 13, 2023 06:19
@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 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants