Skip to content

Commit 762cf03

Browse files
committed
doc nits
1 parent 118d18a commit 762cf03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api/esm.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Not all features of the EP are complete and will be landing as both VM support a
1616

1717
The `--experimental-modules` flag can be used to enable features for loading ESM modules.
1818

19-
Once this has been set, you can use files ending with `.mjs` as ES Modules.
19+
Once this has been set, files ending with `.mjs` will be able to be loaded as ES Modules.
2020

2121
```sh
2222
node --experimental-modules my-app.mjs
@@ -28,11 +28,12 @@ node --experimental-modules my-app.mjs
2828

2929
### Supported
3030

31-
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.
3232

3333
### Unsupported
3434

3535
| Feature | Reason |
36+
| --- | --- |
3637
| `require('./foo.mjs')` | ES Modules have differing resolution and timing, use language standard `import()` |
3738
| `import()` | pending newer V8 release used in Node.js |
3839
| `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
4243

4344
### No NODE_PATH
4445

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.
4647

4748
### No `require.extensions`
4849

0 commit comments

Comments
 (0)