mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
chore: configure esbuild to drop console statements
This commit is contained in:
@@ -6,6 +6,9 @@ import { defineConfig } from 'vite';
|
||||
import dedent from 'dedent';
|
||||
|
||||
export default defineConfig({
|
||||
esbuild: {
|
||||
drop: ['console'],
|
||||
},
|
||||
plugins: [
|
||||
cloudflare({ viteEnvironment: { name: 'ssr' } }),
|
||||
reactRouter(),
|
||||
|
||||
Reference in New Issue
Block a user