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

Gzipped file sizes don't match the output of ember b -prod #69

Open
nag5000 opened this issue Apr 3, 2020 · 0 comments
Open

Gzipped file sizes don't match the output of ember b -prod #69

nag5000 opened this issue Apr 3, 2020 · 0 comments

Comments

@nag5000
Copy link

nag5000 commented Apr 3, 2020

The reason is ember-cli uses zlib.gzip w/o any options, so default compression (Z_DEFAULT_COMPRESSION=6) is used, but ember-cli-bundlesize uses gzip-size w/o any options, which uses zlib under the hood with level=9 in that case.

Ideally, ember-cli-bundlesize should use the same compression level as ember-cli. If you want to avoid breaking changes, you can provide an option to configure it.

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

No branches or pull requests

1 participant