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 a7bb4da

Browse filesBrowse files
jasnelldanielleadams
authored andcommitted
doc: clarify that --require only supports cjs
Fixes: #35103 PR-URL: #36806 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent c6eb2b4 commit a7bb4da
Copy full SHA for a7bb4da

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,9 @@ Preload the specified module at startup.
12111211
Follows `require()`'s module resolution
12121212
rules. `module` may be either a path to a file, or a node module name.
12131213

1214+
Only CommonJS modules are supported. Attempting to preload a
1215+
ES6 Module using `--require` will fail with an error.
1216+
12141217
### `-v`, `--version`
12151218
<!-- YAML
12161219
added: v0.1.3

0 commit comments

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