From 3c49ee298fd52295f4cff301a739d43b3ecf0d24 Mon Sep 17 00:00:00 2001 From: Mohamed Kamagate Date: Tue, 5 Jan 2021 04:25:54 -0800 Subject: [PATCH] doc: fix typo in esm documentation PR-URL: https://github.com/nodejs/node/pull/36800 Reviewed-By: Gireesh Punathil Reviewed-By: Beth Griggs Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Pooja D P --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 9117542825f092..85a7146fc13f46 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -320,7 +320,7 @@ compatibility. The CommonJS module `require` always treats the files it references as CommonJS. Using `require` to load an ES module is not supported because ES modules have -asynchronous execution. Instead, use use [`import()`][] to load an ES module +asynchronous execution. Instead, use [`import()`][] to load an ES module from a CommonJS module. ### CommonJS Namespaces