Skip to content

Commit 82e5d9d

Browse files
committed
chore: add dts option to build script
1 parent 9ef926a commit 82e5d9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"coverage": "vitest run --coverage",
1616
"watch": "tsup --watch",
1717
"watch:test": "vitest",
18-
"build": "tsup"
18+
"build": "tsup --dts --treeshake smallest"
1919
},
2020
"devDependencies": {
2121
"@swc/core": "^1.5.0",

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"target": "ES2020",
4-
"module": "node16",
5-
"moduleResolution": "node16",
4+
"module": "Node16",
5+
"moduleResolution": "Node16",
66
"outDir": "./dist",
77
"rootDir": "./src",
88
"strict": true,

0 commit comments

Comments
 (0)