From 34bc69d376eeaec4ad145ecfb5b56167c2cbe4d9 Mon Sep 17 00:00:00 2001 From: Eric Whitebloom Date: Thu, 24 Jan 2019 22:28:19 -0500 Subject: [PATCH] doc: fix file extension on ESM file example PR-URL: https://github.com/nodejs/node/pull/25692 Reviewed-By: Gus Caplan Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index bed1dd7b922f11..e81a69c6ed1c1a 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -98,7 +98,7 @@ representing the value of `module.exports` at the time they finished evaluating. // foo.js module.exports = { one: 1 }; -// bar.js +// bar.mjs import foo from './foo.js'; foo.one === 1; // true ```