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: {