Skip to content

Commit a5bf669

Browse files
ruyadornodanielleadams
authored andcommitted
doc: fix typo on esm loaders example
Fixes a small typo on the Transpiler loader example. PR-URL: #47015 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Deokjin Kim <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent c4f192b commit a5bf669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ export async function load(url, context, nextLoad) {
11181118
// file, search up the file system for the nearest parent package.json file
11191119
// and read its "type" field.
11201120
const format = await getPackageType(url);
1121-
// When a hook returns a format of 'commonjs', `source` is be ignored.
1121+
// When a hook returns a format of 'commonjs', `source` is ignored.
11221122
// To handle CommonJS files, a handler needs to be registered with
11231123
// `require.extensions` in order to process the files with the CommonJS
11241124
// loader. Avoiding the need for a separate CommonJS handler is a future

0 commit comments

Comments
 (0)