Prepends or appends banner text to emitted assets that match the configured file filters.
new BannerPlugin(options): BannerPlugin
Attributes
options:
BannerPluginArgumentReturns:
BannerPluginNormalizes banner options and compiles the configured banner source into a function that can render per-asset banner text.
bannerPlugin.banner(data): string
Attributes
Type:
BannerPluginOptionsbannerPlugin.apply(compiler): void
Attributes
compiler:
CompilerValidates the configured options and injects rendered banner comments into matching compilation assets at the configured process-assets stage.