mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-22 12:03:56 +08:00
change babel config
This commit is contained in:
18
.babelrc
18
.babelrc
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"ie": 7,
|
||||
"edge": "17",
|
||||
"firefox": "60",
|
||||
"chrome": "67",
|
||||
"safari": "11.1"
|
||||
},
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": "3.8.3"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
@@ -21,14 +21,7 @@ module.exports = {
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
"targets": {
|
||||
"ie": 7,
|
||||
"edge": "17",
|
||||
"firefox": "60",
|
||||
"chrome": "67",
|
||||
"safari": "11.1",
|
||||
},
|
||||
// 按需加载
|
||||
"targets": "> 0.25%, not dead",
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": "3.8.3",
|
||||
}
|
||||
|
Reference in New Issue
Block a user