-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix setting compression level for brotliCompress #209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should fix it in code too?
What fixes would you like to see in the code? It comes to my mind that different default parameters may be passed depending on the algorithm. Do you see any other changes needed? |
I mean this https://github.com/webpack-contrib/compression-webpack-plugin/blob/master/src/index.js#L70, we should always set to maximum, for brotly too |
Codecov Report
@@ Coverage Diff @@
## master #209 +/- ##
===========================================
- Coverage 98.77% 86.66% -12.11%
===========================================
Files 8 4 -4
Lines 326 165 -161
Branches 92 48 -44
===========================================
- Hits 322 143 -179
- Misses 2 20 +18
Partials 2 2
Continue to review full report at Codecov.
|
…ib#154) Signed-off-by: Adrian Pedziwiatr <180254@users.noreply.github.com>
…k-contrib#154) Signed-off-by: Adrian Pedziwiatr <180254@users.noreply.github.com>
I think it's done now. Please check this PR again. |
This PR contains a:
Motivation / Use-Case
Fixes #154.
Breaking Changes
No
Additional Info
No