From d03e25aa33fcd359267c2b15a6062aa1b0de269d Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 24 Sep 2019 15:50:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=20@babel/preset-env?= =?UTF-8?q?=20=E4=B8=AD=20corejs=20=20=20-=20The=20`corejs`=20option=20onl?= =?UTF-8?q?y=20has=20an=20effect=20=20=20-=20when=20the=20`useBuiltIns`=20?= =?UTF-8?q?option=20is=20not=20`false`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/webpack.config.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/webpack.config.config.ts b/src/config/webpack.config.config.ts index 8fcbd4c..3a141e1 100644 --- a/src/config/webpack.config.config.ts +++ b/src/config/webpack.config.config.ts @@ -12,8 +12,7 @@ export const babelLoder = { { targets: { node: 'current' - }, - corejs: { version: 3 } + } } ] ]