Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cbdaaf6

Browse filesBrowse files
ruyadornotargos
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 <jacob@frende.me> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 40a7b0b commit cbdaaf6
Copy full SHA for cbdaaf6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ export async function load(url, context, nextLoad) {
11271127
// file, search up the file system for the nearest parent package.json file
11281128
// and read its "type" field.
11291129
const format = await getPackageType(url);
1130-
// When a hook returns a format of 'commonjs', `source` is be ignored.
1130+
// When a hook returns a format of 'commonjs', `source` is ignored.
11311131
// To handle CommonJS files, a handler needs to be registered with
11321132
// `require.extensions` in order to process the files with the CommonJS
11331133
// loader. Avoiding the need for a separate CommonJS handler is a future

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.