Commit ca997c15ca4ed94e9dacf58081503b1e61b0e001
1 parent
4c381596
fix: 默认不清除ts内console.log()
Showing
1 changed file
with
1 additions
and
1 deletions
internal/vite-config/src/config/common.ts
@@ -7,7 +7,7 @@ const commonConfig: UserConfig = { | @@ -7,7 +7,7 @@ const commonConfig: UserConfig = { | ||
7 | host: true, | 7 | host: true, |
8 | }, | 8 | }, |
9 | esbuild: { | 9 | esbuild: { |
10 | - drop: ['console', 'debugger'], | 10 | + drop: ['debugger'], |
11 | }, | 11 | }, |
12 | build: { | 12 | build: { |
13 | reportCompressedSize: false, | 13 | reportCompressedSize: false, |