style(babel): 恢复 transform-remove-console 插件配置- 重新启用 transform-remove-console插件

- 保留 warn 和 error 级别的控制台输出
This commit is contained in:
陈昱达
2025-07-25 10:13:53 +08:00
parent ec0044e91e
commit 12868a9bc2

View File

@@ -1,11 +1,11 @@
module.exports = { module.exports = {
presets: ['@vue/app'], presets: ['@vue/app'],
plugins: [ plugins: [
// [ [
// 'transform-remove-console', 'transform-remove-console',
// { {
// exclude: ['warn', 'error'] // 可选:保留 warn 和 error exclude: ['warn', 'error'] // 可选:保留 warn 和 error
// } }
// ] ]
] ]
} }