Skip to content

Commit

Permalink
doc: fix file extension on ESM file example
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhitebloom committed Jan 25, 2019
1 parent 641de82 commit 779acad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 779acad

Please sign in to comment.