Skip to content

Commit

Permalink
doc: fix file name to main.mjs and not main.js in esm.md
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
frank-dspeed authored and addaleax committed Sep 22, 2020
1 parent d1c9afa commit 49282e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1438,8 +1438,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
Expand Down

0 comments on commit 49282e4

Please sign in to comment.