Skip to content

Commit

Permalink
reorder option types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisblossom committed Mar 4, 2019
1 parent 03d12ac commit e19b19d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/clean-webpack-plugin.ts
Expand Up @@ -33,24 +33,24 @@ interface Options {
protectWebpackAssets: boolean;

/**
* Removes files after every build (including watch mode) that match this pattern.
* Used for files that are not created directly by Webpack.
* Removes files once prior to Webpack compilation
* Not included in rebuilds (watch mode)
*
* Use !negative patterns to exclude files
*
* default: disabled
* default: ['**']
*/
cleanAfterEveryBuildPatterns: string[];
cleanOnceBeforeBuildPatterns: string[];

/**
* Removes files once prior to Webpack compilation
* Not included in rebuilds (watch mode)
* Removes files after every build (including watch mode) that match this pattern.
* Used for files that are not created directly by Webpack.
*
* Use !negative patterns to exclude files
*
* default: ['**']
* default: disabled
*/
cleanOnceBeforeBuildPatterns: string[];
cleanAfterEveryBuildPatterns: string[];

/**
* Allow clean patterns outside of process.cwd()
Expand Down

0 comments on commit e19b19d

Please sign in to comment.