From 9c1e2c0597cfe1b00f3e61e35305d57a5be0dde8 Mon Sep 17 00:00:00 2001 From: fantasticbin Date: Mon, 20 Jun 2022 11:32:39 +0800 Subject: [PATCH] =?UTF-8?q?babel=E9=85=8D=E7=BD=AE=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel.config.js b/babel.config.js index b86f249..8c9d200 100644 --- a/babel.config.js +++ b/babel.config.js @@ -12,9 +12,9 @@ module.exports = { "ie": "11" }, // 指定corejs的版本 - "corejs": "3", + corejs: "3", // 使用corejs的方式:usage表示按需加载 - "useBuiltIns": "usage" + useBuiltIns: "usage" } ] ]