From 12868a9bc296e65bb496aa8c0855fe24537cdaeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Fri, 25 Jul 2025 10:13:53 +0800 Subject: [PATCH] =?UTF-8?q?style(babel):=20=E6=81=A2=E5=A4=8D=20transform-?= =?UTF-8?q?remove-console=20=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE-=20?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=90=AF=E7=94=A8=20transform-remove-console?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=20-=20=E4=BF=9D=E7=95=99=20warn=20=E5=92=8C?= =?UTF-8?q?=20error=20=E7=BA=A7=E5=88=AB=E7=9A=84=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/babel.config.js b/babel.config.js index c6ae298..5d9f8fa 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,11 +1,11 @@ module.exports = { presets: ['@vue/app'], plugins: [ - // [ - // 'transform-remove-console', - // { - // exclude: ['warn', 'error'] // 可选:保留 warn 和 error - // } - // ] + [ + 'transform-remove-console', + { + exclude: ['warn', 'error'] // 可选:保留 warn 和 error + } + ] ] }