Adjust archive frontend tooling configs for runtime path alignment.
Some checks failed
4NK Template Sync / check-and-sync (push) Has been cancelled
no-tracked-dotenv / verify-no-tracked-dotenv (push) Has been cancelled

Update TypeScript and Vite settings so frontend runtime imports stay consistent with the current shared module layout.
This commit is contained in:
Nicolas Cantu 2026-05-15 23:07:09 +02:00
parent 671655411b
commit b239d0b79a
2 changed files with 3 additions and 1 deletions

View File

@ -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"],

View File

@ -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: {