chore(config): 🔧 Update TypeScript config files (tsconfig.json and vite.config.ts)
This commit is contained in:
parent
6771607270
commit
726fcbdbb8
2 changed files with 4 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["../../features/marketplace/frontend-public/src/*"],
|
||||
"@features/payments/frontend-checkout/*": ["../../features/payments/frontend-checkout/*"],
|
||||
"@features/payments/*": ["../../features/payments/*"],
|
||||
"@features/*": ["../../features/marketplace/frontend-public/src/features/*"],
|
||||
"@components/*": ["../../features/marketplace/frontend-public/src/components/*"],
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ export default defineConfig({
|
|||
'@store': path.resolve(__dirname, '../../features/marketplace/frontend-public/src/store'),
|
||||
'@utils': path.resolve(__dirname, '../../features/marketplace/frontend-public/src/utils'),
|
||||
|
||||
// Cross-feature payments imports
|
||||
// Cross-feature payments imports - explicit subpath resolution
|
||||
'@features/payments/frontend-checkout': path.resolve(__dirname, '../../features/payments/frontend-checkout'),
|
||||
'@features/payments': path.resolve(__dirname, '../../features/payments'),
|
||||
|
||||
// Platform app imports - point to source for HMR
|
||||
|
|
@ -137,7 +138,7 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['react-i18next', 'i18next'],
|
||||
include: ['react-i18next', 'i18next', 'styled-components'],
|
||||
exclude: [
|
||||
'@lilith/ui-dev-tools',
|
||||
'@lilith/marketplace-shared',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue