Adjust archive frontend tooling configs for runtime path alignment.
Update TypeScript and Vite settings so frontend runtime imports stay consistent with the current shared module layout.
This commit is contained in:
parent
671655411b
commit
b239d0b79a
@ -19,7 +19,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"]
|
"@/*": ["./*"],
|
||||||
|
"@frontend-runtime/*": ["../apps/agent-studio-web/public/shared/frontend-runtime/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
|
|||||||
@ -9,6 +9,7 @@ export default defineConfig({
|
|||||||
'@': path.resolve(__dirname, './src'),
|
'@': path.resolve(__dirname, './src'),
|
||||||
'@/components': path.resolve(__dirname, './components'),
|
'@/components': path.resolve(__dirname, './components'),
|
||||||
'@/lib': path.resolve(__dirname, './lib'),
|
'@/lib': path.resolve(__dirname, './lib'),
|
||||||
|
'@frontend-runtime': path.resolve(__dirname, '../apps/agent-studio-web/public/shared/frontend-runtime'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user