You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the CLI argument for the main entry point to your program can be an entry point into an ESM graph. In the future you can use `import()` to create entry points into ESM graphs at run time.
31
+
Only the CLI argument for the main entry point to the program can be an entry point into an ESM graph. In the future `import()` can be used to create entry points into ESM graphs at run time.
32
32
33
33
### Unsupported
34
34
35
35
| Feature | Reason |
36
+
| --- | --- |
36
37
|`require('./foo.mjs')`| ES Modules have differing resolution and timing, use language standard `import()`|
37
38
|`import()`| pending newer V8 release used in Node.js |
38
39
|`import.meta`| pending V8 implementation |
@@ -42,7 +43,7 @@ Only the CLI argument for the main entry point to your program can be an entry p
42
43
43
44
### No NODE_PATH
44
45
45
-
`NODE_PATH` is not part of resolving `import` specifiers. Please use symlinks if you need behavior like this.
46
+
`NODE_PATH` is not part of resolving `import` specifiers. Please use symlinks if this behavior is desired.
0 commit comments