diff options
author | Frank Lemanschik <frank@github.dspeed.eu> | 2020-08-15 10:45:43 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-08-19 04:17:05 +0300 |
commit | 6e97a735c881b079b16bcaabf4ff59dd0cb85387 (patch) | |
tree | e20d9c97db0e2715a918cd185c406696ec6f7bbe /doc/api/esm.md | |
parent | a0846326dd42bf4ec2f91df9cade762283567511 (diff) |
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>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r-- | doc/api/esm.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index 12aed8ff772..d183cea1b50 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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 |