This repository was archived by the owner on Apr 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 88<!-- name=esm-->
99
1010Node.js contains support for ES Modules based upon the
11- [ Node.js EP for ES Modules] [ ] .
11+ [ Node.js EP for ES Modules] [ ] and the [ ESM Minimal Kernel ] [ ] .
1212
13- Not all features of the EP are complete and will be landing as both VM support
14- and implementation is ready. Error messages are still being polished.
13+ The minimal feature set is designed to be compatible with all potential
14+ future implementations. Expect major changes in the implementation including
15+ interoperability support, specifier resolution, and default behavior.
1516
1617## Enabling
1718
@@ -98,7 +99,7 @@ For now, only modules using the `file:` protocol can be loaded.
9899
99100## CommonJS, JSON, and Native Modules
100101
101- CommonJS, JSON, and Native modules can be used with [ ` module.createRequireFromPath() ` ] [ `module.createRequireFromPath()` ] .
102+ CommonJS, JSON, and Native modules can be used with [ ` module.createRequireFromPath() ` ] [ ] .
102103
103104``` js
104105// cjs.js
@@ -266,3 +267,4 @@ in the import tree.
266267[Node.js EP for ES Modules]: https://github.com/nodejs/node-eps/blob/master/002-es-modules.md
267268[dynamic instantiate hook]: #esm_dynamic_instantiate_hook
268269[` module .createRequireFromPath ()` ]: modules.html#modules_module_createrequirefrompath_filename
270+ [ESM Minimal Kernel]: https://github.com/nodejs/modules/blob/master/doc/plan-for-new-modules-implementation.md
You can’t perform that action at this time.
0 commit comments