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 8
8
<!-- name=esm-->
9
9
10
10
Node.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 ] [ ] .
12
12
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.
15
16
16
17
## Enabling
17
18
@@ -98,7 +99,7 @@ For now, only modules using the `file:` protocol can be loaded.
98
99
99
100
## CommonJS, JSON, and Native Modules
100
101
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() ` ] [ ] .
102
103
103
104
``` js
104
105
// foo.js
@@ -264,3 +265,4 @@ in the import tree.
264
265
[Node.js EP for ES Modules]: https://github.com/nodejs/node-eps/blob/master/002-es-modules.md
265
266
[dynamic instantiate hook]: #esm_dynamic_instantiate_hook
266
267
[` module .createRequireFromPath ()` ]: modules.html#modules_module_createrequirefrompath_filename
268
+ [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