From edda492a94475e6eaba22d127eeab8056f0f89f5 Mon Sep 17 00:00:00 2001 From: Frank Lemanschik Date: Sat, 15 Aug 2020 09:45:43 +0200 Subject: [PATCH] doc: fix file name to main.mjs and not main.js in esm.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/34786 Reviewed-By: Michaƫl Zasso Reviewed-By: Derek Lewis Reviewed-By: Geoffrey Booth Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Rich Trott --- doc/api/esm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 254d7240a733b5..583f98c7a52699 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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