Skip to content
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

Merged
merged 2 commits into from
Jul 16, 2020
Merged

Conversation

willstott101
Copy link
Contributor

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.

image

So we don't try to get the gzipped size of already compressed otuputs.

test: /\.(js|css|html|svg)$/,
cache: false
}
)

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

Copy link
Contributor Author

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

@matt-gadd matt-gadd merged commit 578f022 into dojo:master Jul 16, 2020
agubler pushed a commit to agubler/cli-build-app that referenced this pull request Jul 22, 2020
* Fix brotli compression to output correct suffix.

* Compressed files reported with blue size, and gzipped size not re-calculated.
@agubler agubler mentioned this pull request Jul 22, 2020
4 tasks
agubler added a commit that referenced this pull request Jul 22, 2020
* 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]>
@agubler
Copy link
Member

agubler commented Jul 22, 2020

@willstott101 this should be released in 7.0.3 if you want to give it a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants