Skip to content

Commit 41e2533

Browse files
authored
docs: fix typo
1 parent a957f7b commit 41e2533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/packages.md

Lines changed: 1 addition & 1 deletion
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)