chore: update vite-plugin-remove-console

This commit is contained in:
xiaoxian521
2022-06-22 21:36:48 +08:00
parent 007bb0124f
commit d0cfc6614e
3 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export function getPluginsList(command, VITE_LEGACY) {
Unocss(),
DefineOptions(),
// 线上环境删除console
removeConsole(),
removeConsole({ external: ["src/assets/iconfont/iconfont.js"] }),
viteBuildInfo(),
// 自定义主题
themePreprocessorPlugin({