We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84efadf commit 5533d48Copy full SHA for 5533d48
doc/api/esm.md
@@ -381,8 +381,8 @@ To include an ES module into CommonJS, use [`import()`][].
381
382
### <code>import</code> statements
383
384
-An `import` statement can reference either ES module or CommonJS JavaScript.
385
-Other file types such as JSON and Native modules are not supported. For those,
+An `import` statement can reference an ES module, a CommonJS module, or JSON.
+Other file types such as Native modules are not supported. For those,
386
use [`module.createRequire()`][].
387
388
`import` statements are permitted only in ES modules. For similar functionality
0 commit comments