On this page

new BannerPlugin(options): void

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): void
Attributes
compiler:<Compiler>
Returns:
{void}

Validates the configured options and injects rendered banner comments into matching compilation assets at the configured process-assets stage.