diff options
author | Eric Whitebloom <ewhitebloom@gmail.com> | 2019-01-24 22:28:19 -0500 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2019-01-27 13:26:50 +0200 |
commit | 5109e42629d41902cda6a598a4ddb7c3ef36f5b1 (patch) | |
tree | b84b163fc00b0b9e2e055f7d78ec438c60dfc6b5 /doc | |
parent | 7493db21b667ed746d39c9b54357eac4287232e3 (diff) | |
download | android-node-v8-5109e42629d41902cda6a598a4ddb7c3ef36f5b1.tar.gz android-node-v8-5109e42629d41902cda6a598a4ddb7c3ef36f5b1.tar.bz2 android-node-v8-5109e42629d41902cda6a598a4ddb7c3ef36f5b1.zip |
doc: fix file extension on ESM file example
PR-URL: https://github.com/nodejs/node/pull/25692
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/esm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index bed1dd7b92..e81a69c6ed 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 ``` |