diff --git a/CHANGELOG.md b/CHANGELOG.md index fb1014f..493c4e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [1.1.2](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v1.1.1...v1.1.2) (2017-12-14) + + +### Bug Fixes + +* `text/include/exclude` option behaviour ([#88](https://github.com/webpack-contrib/compression-webpack-plugin/issues/88)) ([1d0a840](https://github.com/webpack-contrib/compression-webpack-plugin/commit/1d0a840)) + + + ## [1.1.1](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v1.1.0...v1.1.1) (2017-12-14) diff --git a/package-lock.json b/package-lock.json index bc013ab..e88595e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "compression-webpack-plugin", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9fe6939..df7cfcc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "compression-webpack-plugin", - "version": "1.1.1", + "version": "1.1.2", "author": "Tobias Koppers @sokra", "description": "Prepare compressed versions of assets to serve them with Content-Encoding", "main": "dist/cjs.js", diff --git a/src/index.js b/src/index.js index 0e46171..30dacff 100644 --- a/src/index.js +++ b/src/index.js @@ -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(); }