Skip to content

Commit

Permalink
fix: fix destination of output .d.ts files epic-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
katungi committed Dec 21, 2023
1 parent 86b8e93 commit 6565d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/epic-core/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function App() {

return (
<div>
<Button>Click Me</Button>
<Button>Click Me In Core</Button>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/epic-ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
plugins: [react(), dts()],
build: {
lib: {
entry: './src/main.tsx',
entry: './src/index.ts',
formats: ['cjs', 'es'],
fileName: (format) => `index.${format}.js`
},
Expand Down

0 comments on commit 6565d1e

Please sign in to comment.