On this page

If an dependency matches exactly a property of the object, the property value is used as dependency.

Type:{ [index: string]: ExternalItem } | ((layer: string | null) => ExternalItem)

Specify externals depending on the layer.