[babel 8] fallback targets to "defaults, not ie 11" (#12989)

This commit is contained in:
Huáng Jùnliàng
2021-03-23 15:17:16 -04:00
committed by GitHub
parent 564ca6638f
commit 6ee87eea49
1098 changed files with 21448 additions and 1369 deletions

View File

@@ -1,4 +1,4 @@
{
"presets": [["env", { "loose": true }]],
"presets": [["env", { "loose": true, "targets": { "browsers": "ie 6" } }]],
"plugins": ["transform-flow-comments"]
}

View File

@@ -1,4 +1,4 @@
{
"presets": ["env"],
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
"plugins": ["transform-flow-comments"]
}