Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit b0765f7

Browse files
committed
esm: don't affect legacy loader
1 parent 694df4e commit b0765f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/internal/modules/esm/default_resolve.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ if (experimentalJsonModules) {
4040
Object.assign(extensionFormatMap, {
4141
'.json': 'json'
4242
});
43-
Object.assign(legacyExtensionFormatMap, {
44-
'.json': 'json'
45-
});
4643
}
4744

4845
function readPackageConfig(path, parentURL) {

0 commit comments

Comments
 (0)