Skip to content

Commit c0c487b

Browse files
committed
feat: add bun-plugin-dts-auto
1 parent b597218 commit c0c487b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { dts } from 'bun-plugin-dts-auto'
2+
13
await Bun.build({
24
entrypoints: ['src/index.ts'],
35

46
outdir: './dist',
57

6-
// plugins: [
7-
// dts(),
8-
// ],
8+
plugins: [dts()],
99
})

bun.lockb

394 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"@stacksjs/biome-config": "^0.1.5",
4747
"@types/bun": "^1.1.10",
4848
"bumpp": "^9.5.2",
49+
"bun-plugin-dts-auto": "^0.15.0",
4950
"changelogen": "^0.5.7",
5051
"commitizen": "^4.3.0",
5152
"cz-git": "^1.9.4",

0 commit comments

Comments
 (0)