diff --git a/doc/api/esm.md b/doc/api/esm.md index 14035cbf5ca243..0dc2038121cf34 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -381,8 +381,8 @@ To include an ES module into CommonJS, use [`import()`][]. ### import statements -An `import` statement can reference either ES module or CommonJS JavaScript. -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, use [`module.createRequire()`][]. `import` statements are permitted only in ES modules. For similar functionality