On this page

Type:string | ((data: { chunk: Chunk; filename: string; hash?: string }) => string)

Specifies the banner.

Type:boolean

If true, the banner will only be added to the entry chunks.

Type:string | RegExp | ((str: string) => boolean) | Rule[]

Exclude all modules matching any of these conditions.

Type:boolean

If true, banner will be placed at the end of the output.

Type:string | RegExp | Rule[] | ((str: string) => boolean)

Include all modules matching any of these conditions.

Type:boolean

If true, banner will not be wrapped in a comment.

Type:number

Specifies the stage when add a banner.

Type:string | RegExp | Rule[] | ((str: string) => boolean)

Include all modules that pass test assertion.