fix: 优化浏览器兼容策略
This commit is contained in:
27
.babelrc.json
Normal file
27
.babelrc.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"plugins": [
|
||||
[
|
||||
"@babel/plugin-transform-runtime",
|
||||
{
|
||||
"corejs": 3
|
||||
}
|
||||
]
|
||||
],
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"ie": "11",
|
||||
"chrome": "58",
|
||||
"safari": "11.1",
|
||||
"firefox": "63",
|
||||
"edge": "16"
|
||||
},
|
||||
"corejs": 3,
|
||||
"useBuiltIns": "usage",
|
||||
"modules": false
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user