From 24a353e8e15d11f39f193c88a541a54f419eabdf Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Fri, 22 Dec 2023 18:44:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 3 +-- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 4c66e3d..627ab8b 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,7 +18,6 @@ if (IS_PROD) { } module.exports = { - compact: false, - presets: [['@vue/cli-plugin-babel/preset', { useBuiltIns: 'entry', corejs: 3 }]], + presets: ['@vue/cli-plugin-babel/preset'], plugins }; diff --git a/vue.config.js b/vue.config.js index 0db46bc..98cc3cf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -51,7 +51,7 @@ module.exports = defineConfig({ overlay: { // 当出现编译器错误或警告时,在浏览器中显示全屏覆盖层 warnings: false, - errors: true + errors: false } } // proxy: {