question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`threshold null gzip` error

See original GitHub issue

I’ve noticed that the docs use maxSize in the config, since the tagged release hasn’t happened yet to change the internals to use maxSize it uses threshold instead. Giving an error like this

./dist/assets/es5.min.js: 65.19kB > threshold null gzip

To fix change the property in your package.json to from maxSize to threshold.

Just popping this here for anyone getting the error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
siddharthkpcommented, Jul 5, 2017

@reznord, this is my bad.

I haven’t published your change to npm

0reactions
siddharthkpcommented, Jul 5, 2017

I think bundlesize can get a next version, since there are a few fixes 😄

Yeah, there are some that I haven’t tested yet. Soon, I promise!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Threshold of `false` seems confusing · Issue #144 - GitHub
Is threshold option being false means never compress no matter response size, or default threshold of 1 KiB, or something else?
Read more >
unable to Compress into gzip in webpack - Stack Overflow
I want to compress my react app into gzip,actually it is 2.2 mb so I used compression-webpack-plugin but i'm unable to compress
Read more >
Unexpected end of file. Gzip compressed file - Super User
A workaround for uncompressing a file when gzip fails with "unexpected end of file" is to use zcat (also usually provided by the...
Read more >
Gzip compression with Node.js - Medium
Compression in Node.js and Express.js decreases the amount of ... Gzip (gzip): The most widely used compression format for server and ... threshold:...
Read more >
GZIPOutInterceptor (Apache CXF JavaDoc 3.2.0 API)
To handle gzip-encoded input messages, see GZIPInInterceptor . This interceptor supports a compression threshold (default 1kB) - messages smaller than this ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found