diff --git a/features/landing/frontend-public/vite.config.ts b/features/landing/frontend-public/vite.config.ts index 1e48943d1..ee10ff633 100755 --- a/features/landing/frontend-public/vite.config.ts +++ b/features/landing/frontend-public/vite.config.ts @@ -82,14 +82,14 @@ export default defineConfig({ '@deployment-locales': path.resolve(__dirname, '../../../@deployments/atlilith.www/locales'), // Deployment locale manifest (fallback to atlilith.www when feature runs standalone) '@deployment-locale-manifest': path.resolve(__dirname, '../../../../deployments/@domains/atlilith.www/root/src/locale-manifest.ts'), - // Cross-feature imports (mirrors tsconfig @features/* path) - '@features': path.resolve(__dirname, '../..'), - // Feature shared modules + // Feature shared modules (specific paths BEFORE generic @features prefix) '@features/i18n': path.resolve(__dirname, '../../i18n'), '@features/feature-flags/react': path.resolve(__dirname, '../../feature-flags/shared/dist/react.js'), '@features/marketplace': path.resolve(__dirname, '../../marketplace/shared/src'), '@features/blog': path.resolve(__dirname, '../../blog/shared/src'), '@features/consumable': path.resolve(__dirname, '../../consumable/shared/src'), + // Cross-feature imports (generic @features/* prefix — MUST come after specific subpath aliases) + '@features': path.resolve(__dirname, '../..'), // @ui/* aliases - map to installed @lilith/ui-* packages from registry // NO source path references to ~/Code/@packages/ allowed '@ui/theme': '@lilith/ui-theme',