filter-webpack-plugin
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,3 @@ function FilterPlugin(options) { | ||
compiler.plugin('emit', function(compilation, callback) { | ||
if(typeof files !=='undefined'){ | ||
if(typeof files !=='undefined' && files.length){ | ||
if(files.constructor === Array){ | ||
@@ -13,3 +13,3 @@ for(i = 0; i < files.length; i++){ | ||
} | ||
} else if(files.length){ | ||
} else { | ||
delete compilation.assets[files] | ||
@@ -16,0 +16,0 @@ } |
{ | ||
"name": "filter-webpack-plugin", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
1133