From 3673b2f6437a9be51cad2c4356eaef9900b7c88d Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Fri, 22 Dec 2023 18:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index a9f520f..4c66e3d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,6 +18,7 @@ if (IS_PROD) { } module.exports = { - presets: [['@vue/cli-plugin-babel/preset', { useBuiltIns: 'usage', corejs: 3 }]], + compact: false, + presets: [['@vue/cli-plugin-babel/preset', { useBuiltIns: 'entry', corejs: 3 }]], plugins };