Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Oct 14, 2024
1 parent dad677e commit 8df3208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/prebundle.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default {
},
ignoreDts: true,
afterBundle(task) {
// copy types to dist because prebundle will break the types
fs.cpSync(
join(task.depPath, 'types/index.d.ts'),
join(task.distPath, 'index.d.ts'),
Expand Down

0 comments on commit 8df3208

Please sign in to comment.