Disable source map in Vite config
This commit is contained in:
1 parent
bc4d1207b9
commit
891b18592e
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ export default defineConfig(({ mode }) => {
|
||||
clearScreen: false,
|
||||
build: {
|
||||
minify: 'esbuild',
|
||||
sourcemap: true
|
||||
sourcemap: false
|
||||
},
|
||||
esbuild: {
|
||||
pure: mode === 'production' ? [ 'console.log' ] : [],
|
||||
|
||||
Reference in new issue
Block a user