diff --git a/doc/api/esm.md b/doc/api/esm.md index 14035cbf5ca243..901345204fe234 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -381,8 +381,9 @@ 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 either ES module or CommonJS JavaScript +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