Type Alias PluginConfig
Type declaration
Optional
instance?: objectDefines an existing object instance to use as the plugin.
name: string
Defines the name of the plugin; if no
target
entry is present the name doubles as the target (please see target).Optional
options?: objectDefines an object of options for the plugin.
Optional
target?: string | URLDefines the target Node module to load or defines a local file (full path or relative to current working directory to load. Target may also be a file URL / string or in the browser a web URL.
PluginManager 'add' / 'isValidConfig' plugin configuration.