Skip to content

Wrong documentation for output.externals typeΒ #5927

@dilyanpalauzov

Description

@dilyanpalauzov

https://webpack.js.org/configuration/externals/#externals says:

type: string | [string] | object | function | RegExp

The array can contain both functions, strings, and RegExps, as described at https://webpack.js.org/configuration/externals/#combining-syntaxes .

The above type definition of externals shall be updated to state, that external accepts an array, and that array can have string, function, Regexp, or object.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions