Skip to content

Commit a0c12be

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/configuration/externals.mdx

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