From 8f48e7721715e3e52d4e9875cf854783c6544559 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 f4c78176160787..5a180d21f88ae8 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -316,7 +316,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