File tree Expand file tree Collapse file tree 3 files changed +731
-950
lines changed Expand file tree Collapse file tree 3 files changed +731
-950
lines changed Original file line number Diff line number Diff line change 1+ import { defineBuildConfig } from "obuild/config" ;
2+
3+ export default defineBuildConfig ( {
4+ entries : [ "./src/index.ts" ] ,
5+ } ) ;
Original file line number Diff line number Diff line change 77 "sideEffects" : false ,
88 "type" : " module" ,
99 "exports" : {
10- "." : {
11- "types" : " ./dist/index.d.ts" ,
12- "import" : " ./dist/index.mjs" ,
13- "require" : " ./dist/index.cjs"
14- }
10+ "." : " ./dist/index.mjs"
1511 },
16- "main" : " ./dist/index.cjs " ,
12+ "main" : " ./dist/index.mjs " ,
1713 "module" : " ./dist/index.mjs" ,
18- "types" : " ./dist/index.d.ts " ,
14+ "types" : " ./dist/index.d.mts " ,
1915 "files" : [
2016 " dist"
2117 ],
2218 "scripts" : {
23- "build" : " unbuild " ,
19+ "build" : " obuild " ,
2420 "dev" : " vitest dev" ,
2521 "lint" : " eslint . && prettier --check src test" ,
2622 "lint:fix" : " eslint . --fix && prettier -w src test" ,
3430 "eslint" : " ^9.34.0" ,
3531 "eslint-config-unjs" : " ^0.5.0" ,
3632 "in-range" : " ^3.0.0" ,
33+ "obuild" : " ^0.2.1" ,
3734 "prettier" : " ^3.6.2" ,
3835 "time-span" : " ^5.1.0" ,
3936 "typescript" : " ^5.9.2" ,
40- "unbuild" : " ^3.6.1" ,
4137 "vitest" : " ^3.2.4"
4238 },
4339 "packageManager" :
" [email protected] "
You can’t perform that action at this time.
0 commit comments