Skip to content
Snippets Groups Projects
Unverified Commit 4983b53f authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

ci: omit vite log (#29360)

parent 65081170
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,10 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
export default defineConfig(({ mode }) => ({
esbuild: {
drop: mode === 'development' ? ['console', 'debugger'] : [],
},
plugins: [react()],
optimizeDeps: {
include: ['@rocket.chat/ui-contexts'],
......@@ -12,4 +15,4 @@ export default defineConfig({
include: [/ui-contexts/, /node_modules/],
},
},
});
}));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment