fix: resolve @harb/ui-shared via Vite alias in webapp and landing (#150)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-02-24 13:42:22 +00:00
parent 443eda25cf
commit b228482694
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,8 @@ export default defineConfig({
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
'@': fileURLToPath(new URL('./src', import.meta.url)),
'@harb/ui-shared': fileURLToPath(new URL('../packages/ui-shared/src', import.meta.url)),
},
},
server: {

View file

@ -31,6 +31,7 @@ export default defineConfig(() => {
alias: {
'@': path.resolve(process.cwd(), 'src'),
'kraiken-lib': path.resolve(process.cwd(), '../kraiken-lib/src'),
'@harb/ui-shared': path.resolve(process.cwd(), '../packages/ui-shared/src'),
},
},
server: {