From 8b9e5a8c3bdd2dd0b450537659b28ad9c252a00b Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Sat, 27 Dec 2025 21:59:34 -0800 Subject: [PATCH] fix(landing): Update vite.config.ts paths for external @ui MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix static-copy path for ui-effects-sound assets - Add @ui/* to optimizeDeps.exclude - Remove hardcoded @ui/theme alias (resolved via pnpm workspace) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- features/landing/frontend/vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/features/landing/frontend/vite.config.ts b/features/landing/frontend/vite.config.ts index 321b0c777..34492b705 100644 --- a/features/landing/frontend/vite.config.ts +++ b/features/landing/frontend/vite.config.ts @@ -9,7 +9,7 @@ export default defineConfig({ viteStaticCopy({ targets: [ { - src: path.resolve(__dirname, '../../../@packages/@ui/ui-effects-sound/assets'), + src: path.resolve(__dirname, '../../../../../../../@packages/@ui/packages/ui-effects-sound/assets'), dest: '.', }, ], @@ -34,7 +34,7 @@ export default defineConfig({ ], // Exclude workspace packages from pre-bundling // Also exclude graphql (MSW optional dependency) to prevent dev server errors - exclude: ['@lilith/*', 'graphql'], + exclude: ['@lilith/*', '@ui/*', 'graphql'], }, resolve: { alias: { @@ -42,7 +42,6 @@ export default defineConfig({ // Workspace package aliases for direct file imports (JSON, etc.) '@packages': path.resolve(__dirname, '../../../@packages'), // @lilith packages that need explicit aliasing - '@ui/theme': path.resolve(__dirname, '../../../@packages/@ui/ui-theme/src'), '@lilith/design-tokens': path.resolve(__dirname, '../../../@packages/@core/design-tokens/src'), }, // Preserve symlinks for pnpm workspace packages