Disable source map in Vite config
parent
bc4d1207b9
commit
891b18592e
|
@ -8,7 +8,7 @@ export default defineConfig(({ mode }) => {
|
|||
clearScreen: false,
|
||||
build: {
|
||||
minify: 'esbuild',
|
||||
sourcemap: true
|
||||
sourcemap: false
|
||||
},
|
||||
esbuild: {
|
||||
pure: mode === 'production' ? [ 'console.log' ] : [],
|
||||
|
|
Loading…
Reference in New Issue