Skip to content

Commit

Permalink
Fix default for asset option to be brotli, not gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored and mynameiswhm committed Dec 13, 2016
1 parent 2fe8f25 commit 0ffcfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var RawSource = require('webpack-sources/lib/RawSource');

function CompressionPlugin(options) {
options = options || {};
this.asset = options.asset || '[path].gz[query]';
this.asset = options.asset || '[path].br[query]';
this.test = options.test || options.regExp;
this.threshold = options.threshold || 0;
this.minRatio = options.minRatio || 0.8;
Expand Down

0 comments on commit 0ffcfba

Please sign in to comment.