mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 10:56:50 +08:00
style(babel): 恢复 transform-remove-console 插件配置- 重新启用 transform-remove-console插件
- 保留 warn 和 error 级别的控制台输出
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user