File tree Expand file tree Collapse file tree 3 files changed +353
-254
lines changed Expand file tree Collapse file tree 3 files changed +353
-254
lines changed Original file line number Diff line number Diff line change 6464 " LICENSE"
6565 ],
6666 "scripts" : {
67- "build" : " tsup --clean" ,
67+ "build" : " tsdown --clean" ,
6868 "postbuild" : " pnpm copy-files && pnpm publint" ,
6969 "copy-files" : " rm -f README.md LICENSE && cp ../../README.md ../../LICENSE ./" ,
70- "dev" : " tsup --watch" ,
71- "lint" : " pnpm typecheck" ,
70+ "dev" : " tsdown --watch" ,
71+ "lint" : " pnpm typecheck && pnpm publint " ,
7272 "typecheck" : " tsc --noEmit"
7373 },
7474 "devDependencies" : {
75+ "@oxc-project/runtime" : " ^0.76.0" ,
7576 "@types/node" : " ^24.0.12" ,
7677 "@types/react" : " ^19.1.8" ,
7778 "publint" : " ^0.3.12" ,
7879 "react" : " ^19.1.0" ,
79- "tsup " : " ^8.5.0 "
80+ "tsdown " : " ^0.12.9 "
8081 },
8182 "peerDependencies" : {
8283 "react" : " >=19.0.0"
Original file line number Diff line number Diff line change 1- import { type Options , defineConfig } from 'tsup '
1+ import { type Options , defineConfig } from 'tsdown '
22
33const config : Options = {
44 entry : {
@@ -13,7 +13,7 @@ const config: Options = {
1313 // clean: true,
1414 dts : true ,
1515 sourcemap : true ,
16- splitting : true ,
16+ // splitting: true, // not implemented yet. check https://github.com/rolldown/rolldown/issues/4437
1717 treeshake : true ,
1818 minify : process . env [ 'NODE_ENV' ] === 'production' ,
1919 skipNodeModulesBundle : true ,
You can’t perform that action at this time.
0 commit comments