Disable source map in Vite config

This commit is contained in:
Flashfyre 2024-04-28 23:21:22 -04:00
parent bc4d1207b9
commit 891b18592e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ export default defineConfig(({ mode }) => {
clearScreen: false,
build: {
minify: 'esbuild',
sourcemap: true
sourcemap: false
},
esbuild: {
pure: mode === 'production' ? [ 'console.log' ] : [],