new BannerPlugin(options): voidoptions{BannerPluginArgument}- Returns:
<BannerPlugin>
Normalizes banner options and compiles the configured banner source into a function that can render per-asset banner text.
Attributes
banner:
<object>options:
{BannerPluginOptions}
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Validates the configured options and injects rendered banner comments into matching compilation assets at the configured process-assets stage.