Permalink
Browse files

doc: fix file extension on ESM file example

PR-URL: #25692
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
ewhitebloom authored and addaleax committed Jan 25, 2019
1 parent b218b12 commit 34bc69d376eeaec4ad145ecfb5b56167c2cbe4d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
```

0 comments on commit 34bc69d

Please sign in to comment.