File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 " dist"
2727 ],
2828 "scripts" : {
29- "build" : " tsup --tsconfig tsconfig.build.json " ,
29+ "build" : " tsdown " ,
3030 "clean" : " git clean -xdf dist node_modules" ,
3131 "lint" : " eslint ." ,
3232 "typecheck" : " tsc --noEmit"
4747 "@types/fs-extra" : " catalog:dev" ,
4848 "@types/yargs-parser" : " catalog:dev" ,
4949 "eslint" : " catalog:dev" ,
50- "tsup" : " catalog:dev" ,
50+ "publint" : " catalog:dev" ,
51+ "tsdown" : " catalog:dev" ,
5152 "typescript" : " catalog:dev" ,
5253 "vitest-testdirs" : " catalog:dev"
5354 },
Original file line number Diff line number Diff line change 1- import { defineConfig } from "tsup " ;
1+ import { defineConfig } from "tsdown " ;
22
33export default defineConfig ( {
44 entry : [ "./src/cli.ts" ] ,
55 format : [ "esm" ] ,
66 clean : true ,
77 dts : true ,
88 treeshake : true ,
9- bundle : true ,
9+ publint : true ,
10+ tsconfig : "./tsconfig.build.json" ,
1011} ) ;
You can’t perform that action at this time.
0 commit comments