mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-23 12:33:54 +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',
|
'@babel/preset-env',
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": "> 0.25%, not dead",
|
||||||
"ie": 7,
|
|
||||||
"edge": "17",
|
|
||||||
"firefox": "60",
|
|
||||||
"chrome": "67",
|
|
||||||
"safari": "11.1",
|
|
||||||
},
|
|
||||||
// 按需加载
|
|
||||||
"useBuiltIns": "usage",
|
"useBuiltIns": "usage",
|
||||||
"corejs": "3.8.3",
|
"corejs": "3.8.3",
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user