Skip to content

Documentation contains no example for externals: string #5928

Closed
@dilyanpalauzov

Description

@dilyanpalauzov

https://webpack.js.org/configuration/externals/#string is supposed to document type string of externals, but it does not. It provides examples for type object.

There shall be an example, stating that

{
  "externals": "A"
}

and

{
  "externals": {"A": "A"}
}

do both the same.

Metadata

Metadata

Assignees

No one assigned

    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