clean-webpack-plugin
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -149,2 +149,5 @@ 'use strict'; | ||
} | ||
if (_this.options.exclude.indexOf('.') >= 0) { | ||
excludedChildren.push('.'); | ||
} | ||
} catch (e) { | ||
@@ -151,0 +154,0 @@ childrenAfterExcluding = []; |
{ | ||
"name": "clean-webpack-plugin", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"author": "John Agan <johnagan@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "A webpack plugin to remove your build folder(s) before building", |
@@ -47,3 +47,4 @@ # Clean for webpack | ||
"verbose": true, // Write logs to console. | ||
"dry": false, // Do not delete anything, good for testing. | ||
"dry": false, // Use boolean "true" to test/emulate delete. (will not remove files). | ||
// (Default: "false", remove files) | ||
"exclude": ["files", "to", "ignore"] // Instead of removing whole path recursively, | ||
@@ -50,0 +51,0 @@ // remove all path's content with exclusion of provided immediate children. |
9485
153
64