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 a0c12be

Browse filesBrowse files
authored
docs(Configuration): Fix type for ctx.contextInfo (webpack#6340)
1 parent e19a110 commit a0c12be
Copy full SHA for a0c12be

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

‎src/content/configuration/externals.mdx‎

Copy file name to clipboardExpand all lines: src/content/configuration/externals.mdx
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Here're arguments the function can receive:
171171
- `ctx` (`object`): Object containing details of the file.
172172
- `ctx.context` (`string`): The directory of the file which contains the import.
173173
- `ctx.request` (`string`): The import path being requested.
174-
- `ctx.contextInfo` (`string`): Contains information about the issuer (e.g. the layer).
174+
- `ctx.contextInfo` (`object`): Contains information about the issuer (e.g. the layer and compiler)
175175
- `ctx.getResolve` <Badge text='5.15.0+' />: Get a resolve function with the current resolver options.
176176
- `callback` (`function (err, result, type)`): Callback function used to indicate how the module should be externalized.
177177

0 commit comments

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