Skip to content

Commit

Permalink
fix: preview resolve package issue try 15
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzoo committed Dec 3, 2024
1 parent cef4e7d commit df9aa9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/client/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Global, ThemeProvider } from '@emotion/react';
import type { Preview } from '@storybook/react';
import { theme } from '@tiki/ui/dist/index.mjs';
import { theme } from '@tiki/ui';

import React from 'react';
import { MemoryRouter } from 'react-router-dom';
Expand Down
4 changes: 2 additions & 2 deletions apps/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export default defineConfig(({ mode }) => {

resolve: {
alias: {
'@tiki/ui': path.resolve(__dirname, '../../packages/ui'),
'@tiki/icon': path.resolve(__dirname, '../../packages/icon'),
'@tiki/ui': path.resolve(__dirname, '../../packages/ui/dist'),
'@tiki/icon': path.resolve(__dirname, '../../packages/icon/dist'),
},
},

Expand Down

0 comments on commit df9aa9b

Please sign in to comment.