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

doc: capture plan for future phases #193

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions doc/plan-for-new-modules-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@ These features will be part of the first phase of development:

These changes are implemented in https://github.com/nodejs/ecmascript-modules/pull/6

## Later Phases
## Phase 2

There **will** be future phases. We will **not** ship the code produced by Phase 1. This first phase lacks support for important use cases and will not be released as the new modules implementation.
Phase 2 will focus on uncontentious features to enhance UX:

* improving cjs interop in esm
- createRequireFromURL
- tracking issue: REPLACEME
* Package.json meta data for bare imports
- main vs module?
- tracking issue: REPLACEME
* Re-Introduce VM module integration
- tracking issue: REPLACEME
- Implemented in: https://github.com/nodejs/ecmascript-modules/pull/8

## Phase 3

Phase 3 will focus on extensible "loaders" and deliver an environment that allows user-land experimentation.

## Phase 4

Phase 4 will focus on addressing the user feedback gathered from the experimentation enabled by Phase 3.