Skip to content

Commit a164c19

Browse files
committed
Merge branch 'master' into update-webpack-v5
2 parents c0749f5 + 64c4241 commit a164c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ new CleanWebpackPlugin({
101101
// Use !negative patterns to exclude files
102102
//
103103
// default: ['**/*']
104-
cleanOnceBeforeBuildPatterns: ['**/*', '!static-files*'],
104+
cleanOnceBeforeBuildPatterns: ['**/*', '!static-files*', '!directoryToExclude/**'],
105105
cleanOnceBeforeBuildPatterns: [], // disables cleanOnceBeforeBuildPatterns
106106

107107
// Removes files after every build (including watch mode) that match this pattern.

0 commit comments

Comments
 (0)