Skip to content

Commit 34bc69d

Browse files
ewhitebloomaddaleax
authored andcommittedJan 28, 2019
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>
1 parent b218b12 commit 34bc69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ representing the value of `module.exports` at the time they finished evaluating.
9898
// foo.js
9999
module.exports = { one: 1 };
100100

101-
// bar.js
101+
// bar.mjs
102102
import foo from './foo.js';
103103
foo.one === 1; // true
104104
```

0 commit comments

Comments
 (0)