Skip to content

Commit f9bcc36

Browse files
committed
update tsdown entrypoint
1 parent 7339585 commit f9bcc36

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
@@ -17,7 +17,7 @@
1717
],
1818
"scripts": {
1919
"compile": "tsc",
20-
"build": "tsdown --unbundle --clean --dts --format=cjs",
20+
"build": "tsdown",
2121
"test": "yarn test/ test",
2222
"release": "changelogen --release --push",
2323
"--------------": "",
@@ -26,6 +26,17 @@
2626
"-------------- ": "",
2727
"prepack": "yarn build"
2828
},
29+
"tsdown": {
30+
"entry": [
31+
"src/index.ts",
32+
"src/register-entry.ts",
33+
"src/plugins/nx-transformer-plugin.ts"
34+
],
35+
"unbundle": true,
36+
"dts": true,
37+
"format": "cjs",
38+
"clean": true
39+
},
2940
"keywords": [
3041
"typescript",
3142
"transform",

0 commit comments

Comments
 (0)