diff --git a/features/landing/frontend-public/vite.config.ts b/features/landing/frontend-public/vite.config.ts index 6dd91ae4b..eebe25e53 100755 --- a/features/landing/frontend-public/vite.config.ts +++ b/features/landing/frontend-public/vite.config.ts @@ -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: {