chore(fontend-public): 🔧 Update Vite configuration file for build optimizations
This commit is contained in:
parent
e274df9141
commit
fffa8e7199
1 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue