From b22848269468547ea9839ee764f88d6fa0b6dff4 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 24 Feb 2026 13:42:22 +0000 Subject: [PATCH] fix: resolve @harb/ui-shared via Vite alias in webapp and landing (#150) Co-Authored-By: Claude Sonnet 4.6 --- landing/vite.config.ts | 3 ++- web-app/vite.config.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/landing/vite.config.ts b/landing/vite.config.ts index f022561..3b96358 100644 --- a/landing/vite.config.ts +++ b/landing/vite.config.ts @@ -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: { diff --git a/web-app/vite.config.ts b/web-app/vite.config.ts index 54e429a..6c14c8a 100644 --- a/web-app/vite.config.ts +++ b/web-app/vite.config.ts @@ -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: {