From cbdaaf6197418138f520bb4a727333f19fc1cb8e 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 9a4273940a7ce0..9d859401ef1887 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1127,7 +1127,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