Skip to content

Commit 46a2535

Browse files
author
John Doe
committed
refactor: adjust tsd cfg 2
1 parent fb3119a commit 46a2535

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tsdown.base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ export function baseConfig(options: {
1919
hash: false,
2020
external: [],
2121
copy: [
22+
{
23+
from: `${projectRoot}/package.json`,
24+
to: `${projectRoot}/dist/package.json`,
25+
},
2226
{
2327
from: `${projectRoot}/README.md`,
2428
to: `${projectRoot}/dist/README.md`,

0 commit comments

Comments
 (0)