From 59d85f50ea28ff8a99b1b7ac4dc5ee949dfb8dc7 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Fri, 10 Mar 2023 12:09:54 -0500 Subject: [PATCH] doc: fix typo on esm loaders example Fixes a small typo on the Transpiler loader example. PR-URL: https://github.com/nodejs/node/pull/47015 Reviewed-By: Jacob Smith Reviewed-By: Yagiz Nizipli Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Deokjin Kim Reviewed-By: Darshan Sen --- 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 6dc08f9c161320..6293779131e4e0 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1129,7 +1129,7 @@ export async function load(url, context, nextLoad) { // file, search up the file system for the nearest parent package.json file // and read its "type" field. const format = await getPackageType(url); - // When a hook returns a format of 'commonjs', `source` is be ignored. + // When a hook returns a format of 'commonjs', `source` is ignored. // To handle CommonJS files, a handler needs to be registered with // `require.extensions` in order to process the files with the CommonJS // loader. Avoiding the need for a separate CommonJS handler is a future