chore: configure esbuild to drop console statements

This commit is contained in:
Aj Wazzan
2025-05-20 13:08:05 -07:00
parent 8530d3bd80
commit 2dfec38222

View File

@@ -6,6 +6,9 @@ import { defineConfig } from 'vite';
import dedent from 'dedent';
export default defineConfig({
esbuild: {
drop: ['console'],
},
plugins: [
cloudflare({ viteEnvironment: { name: 'ssr' } }),
reactRouter(),