Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Commit 9e70fd0

Browse files
authored
Merge pull request #215 from nodejs/format-phase2
Add format distinction to phase 2
2 parents 329405e + 3300937 commit 9e70fd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/plan-for-new-modules-implementation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ These changes are implemented in https://github.com/nodejs/ecmascript-modules/pu
6262
* Define semantics for importing a package entry point, e.g. `import _ from 'lodash'`
6363
- Currently this is only possible via an explicit deep import, e.g. `import _ from 'lodash/index.mjs'`. The idea would be to somehow enable the former syntax.
6464
- `package.json` `module` field? `main` field?
65+
66+
* Define semantics for determining when to load sources as CommonJS or ES module for both the top-level main (`node x.js`) and dependency loading.
6567

6668
## Phase 3
6769

0 commit comments

Comments
 (0)