Hierarchy

  • CleanPlugin

Constructors

Properties

Methods

Constructors

Properties

options: {
    dry: boolean;
    keep?: string | RegExp | ((filename) => boolean);
}

Type declaration

  • dry: boolean

    Log the assets that should be removed instead of deleting them.

  • Optional keep?: string | RegExp | ((filename) => boolean)

    Keep these assets.

Methods

  • Apply the plugin

    Parameters

    Returns void

Generated using TypeDoc