Skip to content

Commit

Permalink
disable log in production
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mattia-m committed Jul 29, 2024
1 parent a7fdc31 commit 9a058b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ export default defineNuxtConfig({
driveDownloadUrl: '',
drivePassword: ''
},
vite: {
esbuild: {
drop: ['debugger'],
pure: ['console.log', 'console.error', 'console.warn', 'console.debug', 'console.trace'],
},
},
})

0 comments on commit 9a058b2

Please sign in to comment.