Skip to content

Commit

Permalink
fix: text/include/exclude option behaviour (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and joshwiens committed Dec 14, 2017
1 parent 3739df0 commit 1d0a840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class CompressionPlugin {
const { assets } = compilation;
// eslint-disable-next-line consistent-return
async.forEach(Object.keys(assets), (file, cb) => {
if (!ModuleFilenameHelpers.matchObject(this, file)) {
if (!ModuleFilenameHelpers.matchObject(this.options, file)) {
return cb();
}

Expand Down

0 comments on commit 1d0a840

Please sign in to comment.