From 5c987ffc96c49c3b7f5d3ab3755d5e491e690347 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 12aed8ff772a61..d183cea1b5010c 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