Skip to content

Commit c6fac01

Browse files
committed
both?
1 parent 70b69dc commit c6fac01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"scripts": {
5757
"clean": "rm -rf lib",
58-
"compile": "tsup",
58+
"compile": "tsc -p tsconfig.lib.json && tsup",
5959
"build": "pnpm clean && pnpm compile",
6060
"eslint": "eslint . --max-warnings 0",
6161
"lint": "pnpm type-check && pnpm eslint",

tsconfig.lib.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"lib": ["es2021"],
88
"outDir": "lib",
99
"noEmit": false,
10+
"emitDeclarationOnly": true,
1011
"moduleResolution": "Node16"
1112
}
1213
}

0 commit comments

Comments
 (0)