Disable source map in Vite config

pull/337/head
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, clearScreen: false,
build: { build: {
minify: 'esbuild', minify: 'esbuild',
sourcemap: true sourcemap: false
}, },
esbuild: { esbuild: {
pure: mode === 'production' ? [ 'console.log' ] : [], pure: mode === 'production' ? [ 'console.log' ] : [],