Skip to content

Commit 542323f

Browse files
committed
chore: build dts with tsdown
1 parent 97d7fd3 commit 542323f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"sideEffects": false,
4545
"scripts": {
4646
"dev": "tsx playground/main.ts",
47-
"build": "tsdown && pnpm run build:types",
48-
"build:types": "tsc --emitDeclarationOnly --declaration",
47+
"build": "tsdown",
4948
"docs:build": "typedoc",
5049
"docs:preview": "serve docs",
5150
"lint": "eslint --cache .",

tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { defineConfig } from 'tsdown'
33
export default defineConfig({
44
entry: ['src/index.ts'],
55
platform: 'neutral',
6-
dts: false,
6+
dts: true,
77
})

0 commit comments

Comments
 (0)