浏览代码

chore: remove babel config of animation

pointhalo 3 年之前
父节点
当前提交
65f16ab439
共有 2 个文件被更改,包括 0 次插入28 次删除
  1. 0 14
      packages/semi-animation-react/getBabelConfig.js
  2. 0 14
      packages/semi-animation/getBabelConfig.js

+ 0 - 14
packages/semi-animation-react/getBabelConfig.js

@@ -18,19 +18,5 @@ module.exports = ({ isESM }) => {
                 },
             ],
         ],
-        plugins: [
-            [
-                '@babel/plugin-transform-runtime',
-                {
-                    corejs: 3
-                },
-            ],
-            [
-                '@babel/plugin-proposal-decorators',
-                {
-                    legacy: true,
-                },
-            ],
-        ]    
     };
 };

+ 0 - 14
packages/semi-animation/getBabelConfig.js

@@ -16,20 +16,6 @@ module.exports = ({ isESM }) => {
                     }
                 },
             ],
-        ],
-        plugins: [
-            [
-                '@babel/plugin-transform-runtime',
-                {
-                    corejs: 3
-                },
-            ],
-            [
-                '@babel/plugin-proposal-decorators',
-                {
-                    legacy: true,
-                },
-            ],
         ]
     };
 };