From ede8238cd28d72e103899ac6bc1098f194a15396 Mon Sep 17 00:00:00 2001 From: Dominic Elm Date: Wed, 23 Oct 2024 17:34:21 +0200 Subject: [PATCH] fix: exclude lucide-react from being optimized (#41) --- bolt-vite-react-ts/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bolt-vite-react-ts/vite.config.ts b/bolt-vite-react-ts/vite.config.ts index 627a319..147380a 100644 --- a/bolt-vite-react-ts/vite.config.ts +++ b/bolt-vite-react-ts/vite.config.ts @@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + optimizeDeps: { + exclude: ['lucide-react'], + }, });