[babel 8] Better file ext handling for TS and Flow presets#14955
Merged
nicolo-ribaudo merged 8 commits intobabel:mainfrom Mar 29, 2023
Merged
[babel 8] Better file ext handling for TS and Flow presets#14955nicolo-ribaudo merged 8 commits intobabel:mainfrom
nicolo-ribaudo merged 8 commits intobabel:mainfrom
Conversation
Collaborator
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54177/ |
29ece64 to
3084c3f
Compare
3084c3f to
0b9b949
Compare
0b9b949 to
bd2a7aa
Compare
JLHwung
approved these changes
Mar 28, 2023
99b6144 to
fc6e4a3
Compare
Copied from babel#15478 Co-authored-by: liuxingbaoyu <[email protected]>
Member
Author
|
Merging with a single approval since this is just a backport of an already approved and merged PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1, Fixes #2This PR moves #11316 from
babel-8-devtomain. The first commit is #14954, please ignore it when reviewing this PR.It provides a better configuration experience when using Flow, TypeScript or JSX. The two main changes are that the plugins/presets don't opaquely disable other plugins, and that a filename isn't required anymore. I also changed the options they take regarding file names: