File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -208,11 +208,13 @@ function buildExports(filepath: string): ConditionalExports {
208208 types : {
209209 module : `${ base } .d.mts` ,
210210 'module-sync' : `${ base } .d.mts` ,
211+ node : `${ base } .d.ts` ,
211212 require : `${ base } .d.ts` ,
212213 default : `${ base } .d.mts` ,
213214 } ,
214215 module : `${ base } .mjs` ,
215216 'module-sync' : `${ base } .mjs` ,
217+ node : `${ base } .js` ,
216218 require : `${ base } .js` ,
217219 default : `${ base } .mjs` ,
218220 } ;
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ export interface ConditionalExports extends BaseExports {
252252interface BaseExports {
253253 module : string ;
254254 'module-sync' : string ;
255+ node : string ;
255256 require : string ;
256257 default : string ;
257258}
You can’t perform that action at this time.
0 commit comments