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

fix: REPL with preset-env in Babel 8 #2970

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

liuxingbaoyu
Copy link
Member

Fixes: #2969

Copy link

netlify bot commented Sep 26, 2024

👷 Deploy request for babel-next pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a4798ed

Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for babel ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit a4798ed
🔍 Latest deploy log https://app.netlify.com/sites/babel/deploys/66f5e2dc346ae50008831173
😎 Deploy Preview https://deploy-preview-2970--babel.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -66,7 +66,7 @@ const envPresetDefaults = {
default: "3.21",
},
modules: {
default: false,
default: "false",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Why is this a string?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
select.value does not accept false.

Thanks for your reminder, I checked the code and it handles the false of string.
image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it seems like it should be done another way. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Babel 8 repl does not work
3 participants