Skip to content

Don't accidentally load ambient config during bindExpression #91

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

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Apr 1, 2025

babel.parse will search for a config file in the CWD and use it. This will explode if the config file contains async features, since we're doing a synchronous parse.

This could be fixed by passing configFile: false to parse, but I also realized I could use babel.template instead and that is simpler anyway.

`babel.parse` will search for a config file in the CWD and use it. This will explode if the config file contains async features, since we're doing a synchronous parse.

This could be fixed by passing `configFile: false` to parse, but I also realized I could use `babel.template` instead and that is simpler anyway.
@ef4 ef4 added the bug Something isn't working label Apr 1, 2025
@ef4 ef4 merged commit c2c46aa into main Apr 1, 2025
10 checks passed
@github-actions github-actions bot mentioned this pull request Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant