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