File tree Expand file tree Collapse file tree 3 files changed +823
-749
lines changed
Expand file tree Collapse file tree 3 files changed +823
-749
lines changed Original file line number Diff line number Diff line change 3131 "prompts" : " ^2.4.2" ,
3232 "publint" : " ^0.3.16" ,
3333 "rimraf" : " ^6.1.2" ,
34- "tsup " : " ^8.5.1 " ,
34+ "tsdown " : " ^0.21.9 " ,
3535 "typescript" : " ~5.9.3"
3636 },
3737 "scripts" : {
4040 "lint:package" : " publint" ,
4141 "build:copy" : " copyfiles -f ../../LICENSE ../../README.md ." ,
4242 "build:templates" : " copyfiles -u 1 -a \" src/template/**\" dist" ,
43- "build:ts" : " tsup src/index.ts --format cjs --target node18 " ,
43+ "build:ts" : " tsdown " ,
4444 "build" : " run-s clean build:copy build:templates build:ts lint:package" ,
4545 "start" : " node ./dist/index.cjs"
4646 }
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'tsdown'
2+
3+ export default defineConfig ( {
4+ entry : 'src/index.ts' ,
5+ clean : false ,
6+ format : [ 'cjs' ] ,
7+ target : 'node18' ,
8+ deps : {
9+ onlyBundle : false
10+ }
11+ } )
You can’t perform that action at this time.
0 commit comments