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 {
208
208
types : {
209
209
module : `${ base } .d.mts` ,
210
210
'module-sync' : `${ base } .d.mts` ,
211
+ node : `${ base } .d.ts` ,
211
212
require : `${ base } .d.ts` ,
212
213
default : `${ base } .d.mts` ,
213
214
} ,
214
215
module : `${ base } .mjs` ,
215
216
'module-sync' : `${ base } .mjs` ,
217
+ node : `${ base } .js` ,
216
218
require : `${ base } .js` ,
217
219
default : `${ base } .mjs` ,
218
220
} ;
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ export interface ConditionalExports extends BaseExports {
252
252
interface BaseExports {
253
253
module : string ;
254
254
'module-sync' : string ;
255
+ node : string ;
255
256
require : string ;
256
257
default : string ;
257
258
}
You can’t perform that action at this time.
0 commit comments