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 BethGriggs committed Aug 20, 2020
1 parent f4675ea commit fae5df2
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 @@ -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
Expand Down

0 comments on commit fae5df2

Please sign in to comment.