vite build drop console
This commit is contained in:
parent
9aecfc62e9
commit
560c4eda72
@ -35,4 +35,13 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
// https://rollupjs.org/configuration-options/
|
||||
},
|
||||
},
|
||||
// https://github.com/vitejs/vite/discussions/7920
|
||||
esbuild: {
|
||||
drop: ['console', 'debugger'],
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user