Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Babel 7.13.0 features for
@babel/core
(#12470)
Co-authored-by: Justin Ridgewell <justin@ridgewell.name> Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
- Loading branch information
1 parent
bfd3f80
commit 233b17c
Showing
670 changed files
with
7,985 additions
and
561 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// @flow | ||
|
||
import type { Targets } from "@babel/helper-compilation-targets"; | ||
|
||
import type { ConfigContext } from "./config-chain"; | ||
import type { CallerMetadata } from "./validation/options"; | ||
|
||
export type { ConfigContext as FullConfig }; | ||
|
||
export type FullPreset = { | ||
...ConfigContext, | ||
targets: Targets, | ||
}; | ||
export type FullPlugin = { | ||
...FullPreset, | ||
assumptions: { [name: string]: boolean }, | ||
}; | ||
|
||
// Context not including filename since it is used in places that cannot | ||
// process 'ignore'/'only' and other filename-based logic. | ||
export type SimpleConfig = { | ||
envName: string, | ||
caller: CallerMetadata | void, | ||
}; | ||
export type SimplePreset = { | ||
...SimpleConfig, | ||
targets: Targets, | ||
}; | ||
export type SimplePlugin = { | ||
...SimplePreset, | ||
assumptions: { [name: string]: boolean }, | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.