浏览代码

Build: Fix babel config issue which lead to collapse transition broken

island205 6 年之前
父节点
当前提交
787c27c8d9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .babelrc

+ 4 - 0
.babelrc

@@ -19,7 +19,11 @@
         [
         [
           "env",
           "env",
           {
           {
+            "loose": true,
             "modules": "commonjs",
             "modules": "commonjs",
+            "targets": {
+              "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
+            }
           }
           }
         ],
         ],
       ],
       ],