File tree 2 files changed +4
-11
lines changed
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,8 @@ export default defineBuildConfig({
11
11
name : basename ( i ) . slice ( 0 , - 3 ) ,
12
12
} ) ) ,
13
13
clean : true ,
14
- declaration : true ,
14
+ declaration : 'node16' ,
15
15
rollup : {
16
- emitCJS : true ,
17
16
inlineDependencies : true ,
18
- commonjs : {
19
- exclude : [ '**/*.d.ts' ] ,
20
- } ,
21
17
} ,
22
18
} )
Original file line number Diff line number Diff line change 15
15
"url" : " https://github.com/antfu-collective/ni/issues"
16
16
},
17
17
"exports" : {
18
- "." : {
19
- "import" : " ./dist/index.mjs" ,
20
- "require" : " ./dist/index.cjs"
21
- }
18
+ "." : " ./dist/index.mjs"
22
19
},
23
- "main" : " ./dist/index.cjs " ,
20
+ "main" : " ./dist/index.mjs " ,
24
21
"module" : " ./dist/index.mjs" ,
25
- "types" : " ./dist/index.d.ts " ,
22
+ "types" : " ./dist/index.d.mts " ,
26
23
"bin" : {
27
24
"ni" : " bin/ni.mjs" ,
28
25
"nci" : " bin/nci.mjs" ,
You can’t perform that action at this time.
0 commit comments