chore(frontend-public): 🔧 Update Vite build config for public frontend optimizations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
2e71e1ca1a
commit
a3c24fbb9e
1 changed files with 5 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
fs: {
|
||||
// Allow serving files from pnpm workspace
|
||||
allow: ['..'],
|
||||
// Allow serving files from workspace (.. = landing/, ../.. = features/, ../../.. = codebase/)
|
||||
allow: ['../../..'],
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
|
|
@ -81,8 +81,11 @@ 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
|
||||
'@platform/i18n': path.resolve(__dirname, '../../i18n'),
|
||||
'@platform/feature-flags/react': path.resolve(__dirname, '../../feature-flags/shared/dist/react.js'),
|
||||
// @ui/* aliases - map to installed @lilith/ui-* packages from registry
|
||||
// NO source path references to ~/Code/@packages/ allowed
|
||||
'@ui/theme': '@lilith/ui-theme',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue