Browse Source

disable console.log entirely

Jan Kessler 2 weeks ago
parent
commit
aecbc93c16
1 changed files with 4 additions and 1 deletions
  1. 4 1
      vite.config.ts

+ 4 - 1
vite.config.ts

@@ -39,5 +39,8 @@ export default defineConfig({
 	},
 	worker: {
 		format: 'es'
-	}
+	},
+	esbuild: {
+		pure: ['console.log'],
+	},
 });