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 <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
frank-dspeed authored and Trott committed Aug 19, 2020
1 parent a084632 commit 6e97a73
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 6e97a73

Please sign in to comment.