chore(fontend-public): 🔧 Update Vite configuration file for build optimizations

This commit is contained in:
Lilith 2026-01-20 05:07:52 -08:00
parent e274df9141
commit fffa8e7199

View file

@ -45,8 +45,6 @@ export default defineConfig({
optimizeDeps: {
// Include CJS modules that need ESM conversion
include: [
'void-elements',
'html-parse-stringify',
'react-i18next',
'i18next',
// Ensure lucide-react is pre-bundled for better tree-shaking
@ -54,6 +52,8 @@ export default defineConfig({
],
// Exclude workspace packages from pre-bundling
exclude: ['@lilith/i18n', '@lilith/design-tokens', '@lilith/ui-theme', '@lilith/zname'],
// Force rebuild on config changes
force: true,
},
resolve: {
alias: {