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