Add targets and browserslist* options to @babel/core#12189
Merged
nicolo-ribaudo merged 5 commits intoDec 10, 2020
Merged
Conversation
Collaborator
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/34601/ |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b024ab6:
|
31431e0 to
a8766d3
Compare
JLHwung
reviewed
Oct 15, 2020
| options.sourceMaps = options.sourceMap; | ||
| delete options.sourceMap; | ||
| } | ||
|
|
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
JLHwung
reviewed
Oct 15, 2020
| path: options.path ?? options.configPath, | ||
| mobileToDesktop: true, | ||
| env: options.browserslistEnv, | ||
| env: options.env ?? options.browserslistEnv, |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
01491a0 to
c621d3b
Compare
c621d3b to
a196b73
Compare
3161cff to
46dae56
Compare
46dae56 to
58a1e84
Compare
58a1e84 to
1f501e0
Compare
itssumitrai
approved these changes
Nov 19, 2020
085be04 to
7bb7925
Compare
358ffcc to
60dd732
Compare
f2fc1a3 to
961dff6
Compare
60dd732 to
b024ab6
Compare
Member
Author
|
Merged into #12470 |
nicolo-ribaudo
added a commit
that referenced
this pull request
Dec 11, 2020
nicolo-ribaudo
added a commit
to nicolo-ribaudo/babel
that referenced
this pull request
Jan 12, 2021
nicolo-ribaudo
added a commit
that referenced
this pull request
Jan 24, 2021
nicolo-ribaudo
added a commit
that referenced
this pull request
Jan 24, 2021
nicolo-ribaudo
added a commit
to nicolo-ribaudo/babel
that referenced
this pull request
Feb 4, 2021
nicolo-ribaudo
added a commit
to nicolo-ribaudo/babel
that referenced
this pull request
Feb 10, 2021
nicolo-ribaudo
added a commit
to nicolo-ribaudo/babel
that referenced
this pull request
Feb 11, 2021
nicolo-ribaudo
added a commit
that referenced
this pull request
Feb 16, 2021
nicolo-ribaudo
added a commit
that referenced
this pull request
Feb 21, 2021
This was referenced Mar 6, 2021
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.
The commits can be reviewed one by one.
{ esmodules: "intersect" }tohelper-compilation-targets: it can be used to intersectesmoduleswith thebrowsersoption, rather than overwriting it (fixes The esmodules target should be more future friendly #8809). Note that it cannot be used with@babel/preset-env, and is used by settingesmodules: truein@babel/core. In Babel 8, we'll remove{ esmodules: "intersect" }fromhelper-compilation-targetand make it the default behavior fortrue.targets,browserslistConfigFileandbrowserslistEnvoption that can be specified in programmatic options and in config files.targetsin@babel/preset-env.api.targetsin@babel/helper-plugin-utils, so that we can use it in plugins/presets without worrying about it not being defined.