Hierarchy

  • BannerPluginOptions

Properties

banner: string | ((data) => string)

Specifies the banner.

Type declaration

    • (data): string
    • Parameters

      • data: {
            chunk: Chunk;
            filename: string;
            hash: string;
        }
        • chunk: Chunk
        • filename: string
        • hash: string

      Returns string

entryOnly?: boolean

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

exclude?: string | RegExp | Rule[]

Exclude all modules matching any of these conditions.

footer?: boolean

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

include?: string | RegExp | Rule[]

Include all modules matching any of these conditions.

raw?: boolean

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

test?: string | RegExp | Rule[]

Include all modules that pass test assertion.

Generated using TypeDoc