Skip to content

Commit

Permalink
fix: exclude lucide-react from being optimized in shadcn (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
sulco authored Nov 5, 2024
1 parent ede8238 commit 93dd1ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite-shadcn/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
optimizeDeps: {
exclude: ['lucide-react'],
},
});

0 comments on commit 93dd1ac

Please sign in to comment.