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

Commit 694df4e

Browse files
committed
esm: don't remove non-experimental json
1 parent a68ee90 commit 694df4e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/internal/modules/esm/default_resolve.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const legacyExtensionFormatMap = {
3030
'__proto__': null,
3131
'.cjs': 'commonjs',
3232
'.js': 'commonjs',
33+
'.json': 'commonjs',
3334
'.mjs': 'module',
3435
'.node': 'commonjs'
3536
};

0 commit comments

Comments
 (0)