File tree Expand file tree Collapse file tree 3 files changed +786
-912
lines changed Expand file tree Collapse file tree 3 files changed +786
-912
lines changed Original file line number Diff line number Diff line change 1- import { defineBuildConfig } from "unbuild" ;
2- import { rm } from "node:fs/promises" ;
1+ import { defineBuildConfig } from "obuild/config" ;
32
43export default defineBuildConfig ( {
5- hooks : {
6- async "build:done" ( ) {
7- await rm ( "dist/index.d.ts" ) ;
8- } ,
9- } ,
4+ entries : [ "src/index.ts" ] ,
105} ) ;
Original file line number Diff line number Diff line change 1515 " dist"
1616 ],
1717 "scripts" : {
18- "build" : " unbuild " ,
18+ "build" : " obuild " ,
1919 "dev" : " vitest dev" ,
2020 "lint" : " eslint . && prettier -c ." ,
2121 "node-ts" : " node --disable-warning=ExperimentalWarning --experimental-strip-types" ,
3434 "eslint-config-unjs" : " ^0.5.0" ,
3535 "happy-dom" : " ^20.0.10" ,
3636 "jiti" : " ^2.6.1" ,
37+ "obuild" : " ^0.4.1" ,
3738 "prettier" : " ^3.6.2" ,
3839 "typescript" : " ^5.9.3" ,
39- "unbuild" : " ^3.6.1" ,
4040 "vitest" : " ^4.0.8"
4141 },
4242 "packageManager" : " pnpm@10.21.0"
You can’t perform that action at this time.
0 commit comments