Skip to content

Commit ae6492f

Browse files
committed
update tsdown entrypoint
1 parent 53c5738 commit ae6492f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"scripts": {
2525
"compile": "tsc",
26-
"build": "tsdown --unbundle --clean --dts --format=cjs",
26+
"build": "tsdown",
2727
"test": "yarn test/ test",
2828
"release": "changelogen --release --push",
2929
"--------------": "",
@@ -32,6 +32,17 @@
3232
"-------------- ": "",
3333
"prepack": "yarn build"
3434
},
35+
"tsdown": {
36+
"entry": [
37+
"src/index.ts",
38+
"src/register-entry.ts",
39+
"src/plugins/nx-transformer-plugin.ts"
40+
],
41+
"unbundle": true,
42+
"dts": true,
43+
"format": "cjs",
44+
"clean": true
45+
},
3546
"keywords": [
3647
"typescript",
3748
"transform",

0 commit comments

Comments
 (0)