Skip to content

Commit 1d0a840

Browse files
evilebottnawijoshwiens
authored andcommitted
fix: text/include/exclude option behaviour (#88)
1 parent 3739df0 commit 1d0a840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class CompressionPlugin {
6868
const { assets } = compilation;
6969
// eslint-disable-next-line consistent-return
7070
async.forEach(Object.keys(assets), (file, cb) => {
71-
if (!ModuleFilenameHelpers.matchObject(this, file)) {
71+
if (!ModuleFilenameHelpers.matchObject(this.options, file)) {
7272
return cb();
7373
}
7474

0 commit comments

Comments
 (0)