Skip to content

Commit

Permalink
build: update vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisianthus-A authored Jul 1, 2024
1 parent d78c12d commit c9a9d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineConfig({
// visualizer()
plugins: [react()],
esbuild: {
pure: isDev ? undefined : ["console.log"],
drop: isDev ? undefined : ["debugger"],
},
server: {
Expand Down

0 comments on commit c9a9d3d

Please sign in to comment.