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 + } + ] ] }