Skip to content

Commit

Permalink
Chore(demo): Correctly resolve alias to the icons in demos
Browse files Browse the repository at this point in the history
  * there was a missing danger icon in the Alert and Toast component
  * icons were resolved from node_modules instead of actuall package path
  • Loading branch information
literat committed Apr 23, 2024
1 parent 4702a3d commit 68af8fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/demo/config/vite/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 68af8fb

Please sign in to comment.