mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: fix file name to main.mjs and not main.js in esm.md
PR-URL: https://github.com/nodejs/node/pull/34786 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
a0846326dd
commit
6e97a735c8
1 file changed
+2
-2
+2
-2
@@ -1506,8 +1506,8 @@ console.log(VERSION);
|
||||
|
||||
With this loader, running:
|
||||
|
||||
```console
|
||||
node --experimental-loader ./https-loader.mjs ./main.js
|
||||
```bash
|
||||
node --experimental-loader ./https-loader.mjs ./main.mjs
|
||||
```
|
||||
|
||||
Will print the current version of CoffeeScript per the module at the URL in
|
||||
|
||||
Reference in new issue
Block a user