From 68af8fb053fcdadad8c7e455a496397bbb9bc465 Mon Sep 17 00:00:00 2001 From: literat Date: Mon, 22 Apr 2024 16:59:39 +0200 Subject: [PATCH] Chore(demo): Correctly resolve alias to the icons in demos * there was a missing danger icon in the Alert and Toast component * icons were resolved from node_modules instead of actuall package path --- apps/demo/config/vite/app.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/demo/config/vite/app.ts b/apps/demo/config/vite/app.ts index e7e74c3994..1571ac1069 100644 --- a/apps/demo/config/vite/app.ts +++ b/apps/demo/config/vite/app.ts @@ -21,6 +21,11 @@ export default defineConfig({ port: 3456, strictPort: true, }, + resolve: { + alias: { + '@lmc-eu/spirit-icons': join(pathRelativeToRepositoryRoot, 'packages/icons/dist'), + }, + }, plugins: [ handlebars({ partialDirectory: [