-
Notifications
You must be signed in to change notification settings - Fork 32
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 bugs introduced in #416 #419
Conversation
test: /\.(js|css|html|svg)$/, | ||
cache: false | ||
} | ||
) |
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.
Changing plugin options always invalidate cache
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.
I've added a comment on the other issue
* Fix bugs introduced in #416 (#419) * Fix brotli compression to output correct suffix. * Compressed files reported with blue size, and gzipped size not re-calculated. * deps Co-authored-by: Will Stott <[email protected]>
@willstott101 this should be released in 7.0.3 if you want to give it a try? |
Sorry, I didn't properly test the previous MR. The compression plugin isn't as clever as I hoped and you have to specify the file name. Furthermore I've decided to disable cache due to webpack-contrib/compression-webpack-plugin#170 which was quite a headache during testing.
To make the bugs I introduced a bit less painful I decided to update the CLI marginally for compressed outputs too.
So we don't try to get the gzipped size of already compressed otuputs.