Skip to content

Commit 87cc487

Browse files
h-a-n-ajuanarbol
authored andcommittedOct 11, 2022
doc: fix typo
PR-URL: #44262 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent ac2edbc commit 87cc487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/packages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ There is the ECMAScript module loader:
126126
* It accepts only `.js`, `.mjs`, and `.cjs` extensions for JavaScript text
127127
files.
128128
* It can be used to load JavaScript CommonJS modules. Such modules
129-
are passed through the `es-module-lexer` to try to identify named exports,
129+
are passed through the `cjs-module-lexer` to try to identify named exports,
130130
which are available if they can be determined through static analysis.
131131
Imported CommonJS modules have their URLs converted to absolute
132132
paths and are then loaded via the CommonJS module loader.

0 commit comments

Comments
 (0)
Please sign in to comment.