This repository was archived by the owner on Apr 16, 2020. It is now read-only.
File tree 1 file changed +6
-4
lines changed
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
// cjs.js
@@ -266,3 +267,4 @@ in the import tree.
266
267
[ Node.js EP for ES Modules ] : https://github.com/nodejs/node-eps/blob/master/002-es-modules.md
267
268
[ dynamic instantiate hook ] : #esm_dynamic_instantiate_hook
268
269
[ `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