mirror of
https://gitee.com/dcren/cloud-native-app-initializer.git
synced 2026-05-19 17:31:28 +08:00
Project initial
This commit is contained in:
67
initializer-page/.babelrc
Normal file
67
initializer-page/.babelrc
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"presets": [
|
||||
"@babel/preset-react",
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": [
|
||||
"last 2 Chrome versions",
|
||||
"last 2 Safari versions",
|
||||
"last 2 Firefox versions",
|
||||
"ie 11",
|
||||
"cover 85% in US"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
{
|
||||
"loose": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"@babel/plugin-proposal-decorators",
|
||||
{
|
||||
"legacy": true
|
||||
}
|
||||
],
|
||||
"@babel/plugin-proposal-do-expressions",
|
||||
"@babel/plugin-proposal-export-default-from",
|
||||
"@babel/plugin-proposal-export-namespace-from",
|
||||
"@babel/plugin-proposal-function-bind",
|
||||
"@babel/plugin-proposal-function-sent",
|
||||
"@babel/plugin-proposal-logical-assignment-operators",
|
||||
[
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
||||
{
|
||||
"loose": false
|
||||
}
|
||||
],
|
||||
"@babel/plugin-proposal-numeric-separator",
|
||||
[
|
||||
"@babel/plugin-proposal-optional-chaining",
|
||||
{
|
||||
"loose": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"@babel/plugin-proposal-pipeline-operator",
|
||||
{
|
||||
"proposal": "minimal"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@babel/plugin-proposal-private-methods",
|
||||
{
|
||||
"loose": false
|
||||
}
|
||||
],
|
||||
"@babel/plugin-proposal-throw-expressions",
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-syntax-import-meta",
|
||||
"@babel/plugin-proposal-json-strings",
|
||||
"@babel/plugin-transform-runtime"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user