chore(project): 添加项目配置文件和忽略规则
- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
This commit is contained in:
42
saga/seata-saga-statemachine-designer/.babelrc
Normal file
42
saga/seata-saga-statemachine-designer/.babelrc
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"modules": false,
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": "core-js@3",
|
||||
}
|
||||
],
|
||||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-runtime",
|
||||
[
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
{
|
||||
"loose": true
|
||||
}
|
||||
],
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
"alias": {
|
||||
"@common": "./ggeditor/common",
|
||||
"@components": "./ggeditor/components",
|
||||
"@helpers": "./ggeditor/helpers",
|
||||
"@utils": "./ggeditor/utils",
|
||||
"@gg-editor-core": "./ggeditor/gg-editor-core"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"transform-inline-environment-variables",
|
||||
{
|
||||
"include": [
|
||||
"GG_EDITOR_VERSION"
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user