File tree Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ exports.createResolver = function (options) {
377
377
"internal" ,
378
378
conditionNames ,
379
379
importsField ,
380
- "described- relative" ,
380
+ "relative" ,
381
381
"internal-resolve"
382
382
)
383
383
) ;
@@ -444,7 +444,7 @@ exports.createResolver = function (options) {
444
444
"resolve-in-package" ,
445
445
conditionNames ,
446
446
exportsField ,
447
- "described- relative"
447
+ "relative"
448
448
)
449
449
) ;
450
450
} ) ;
Original file line number Diff line number Diff line change @@ -1767,10 +1767,12 @@ describe("ExportsFieldPlugin", () => {
1767
1767
" existing directory .../node_modules/exports-field" ,
1768
1768
" using description file: .../node_modules/exports-field/package.json (relative path: .)" ,
1769
1769
" using exports field: ./lib/lib2/browser.js" ,
1770
- " .../node_modules/exports-field/lib/lib2/browser.js doesn't exist" ,
1770
+ " using description file: .../node_modules/exports-field/package.json (relative path: ./lib/lib2/browser.js)" ,
1771
+ " .../node_modules/exports-field/lib/lib2/browser.js doesn't exist" ,
1771
1772
" using exports field: ./lib/browser.js" ,
1772
- " existing file: .../node_modules/exports-field/lib/browser.js" ,
1773
- " reporting result .../node_modules/exports-field/lib/browser.js"
1773
+ " using description file: .../node_modules/exports-field/package.json (relative path: ./lib/browser.js)" ,
1774
+ " existing file: .../node_modules/exports-field/lib/browser.js" ,
1775
+ " reporting result .../node_modules/exports-field/lib/browser.js"
1774
1776
] ) ;
1775
1777
done ( ) ;
1776
1778
}
Original file line number Diff line number Diff line change @@ -1325,16 +1325,18 @@ describe("ImportsFieldPlugin", () => {
1325
1325
" existing directory .../node_modules/a" ,
1326
1326
" using description file: .../node_modules/a/package.json (relative path: .)" ,
1327
1327
" using exports field: ./lib/lib2/index.js" ,
1328
- " no extension" ,
1329
- " .../node_modules/a/lib/lib2/index.js doesn't exist" ,
1330
- " .js" ,
1331
- " .../node_modules/a/lib/lib2/index.js.js doesn't exist" ,
1332
- " as directory" ,
1333
- " .../node_modules/a/lib/lib2/index.js doesn't exist" ,
1328
+ " using description file: .../node_modules/a/package.json (relative path: ./lib/lib2/index.js)" ,
1329
+ " no extension" ,
1330
+ " .../node_modules/a/lib/lib2/index.js doesn't exist" ,
1331
+ " .js" ,
1332
+ " .../node_modules/a/lib/lib2/index.js.js doesn't exist" ,
1333
+ " as directory" ,
1334
+ " .../node_modules/a/lib/lib2/index.js doesn't exist" ,
1334
1335
" using exports field: ./lib/index.js" ,
1335
- " no extension" ,
1336
- " existing file: .../node_modules/a/lib/index.js" ,
1337
- " reporting result .../node_modules/a/lib/index.js"
1336
+ " using description file: .../node_modules/a/package.json (relative path: ./lib/index.js)" ,
1337
+ " no extension" ,
1338
+ " existing file: .../node_modules/a/lib/index.js" ,
1339
+ " reporting result .../node_modules/a/lib/index.js"
1338
1340
] ) ;
1339
1341
done ( ) ;
1340
1342
}
You can’t perform that action at this time.
0 commit comments