-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
chore: Use babel.config.cts
#15511
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
chore: Use babel.config.cts
#15511
Conversation
| pathUtils.join(dir, `${source.value}/package.json`) | ||
| ), | ||
| "utf8" | ||
| pathUtils.join(dir, `${source.value}/package.json`), | ||
| "utf8" | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously we accidentally passed utf8 to JSON.parse.
| { | ||
| configFile: false, | ||
| parserOpts: { attachComments: false, plugins: ["typescript"] }, | ||
| parserOpts: { attachComment: false, plugins: ["typescript"] }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo here.
9c42bfe to
a2628fb
Compare
a2628fb to
434c41a
Compare
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54216/ |
| const { source } = node; | ||
| if (!source) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is causing the CI failure
|
This seems to be a compatibility issue with older versions of jest, I'll look into it. |
Fixes #1, Fixes #2ref: #15478
During the migration I found two bugs, but luckily they worked by accident.