Prechádzať zdrojové kódy

chore: remove babel config of animation

pointhalo 3 rokov pred
rodič
commit
65f16ab439

+ 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,
-                },
-            ],
         ]
     };
 };