-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enourmous Bundle Size ! 340 KiB #694
Comments
That doesn't sound right... https://bundlephobia.com/result?p=jsonwebtoken@8.5.1 |
All I know is when I remove it from webpack build, it goes to 390 Kib, when I uncomment it and use it, it jumps to 740 KiB |
That's because We are not providing |
semver.js alone is 14 KiB |
OK, I understand. Thanks very much for the tip. I suppose we can close this silly thread I opened :) |
I just ran into this. I shaved a huge amount off my bundle by switching to jwt-decode on the client. Obviously, this is not this module's fault. In no way, at all. But it would be really cool if this module threw an error or a warning if it's run in the browser with a helpful link to https://github.com/auth0/jwt-decode. I went from a 450kb bundle to 250kb bundle by swapping out this module alone. Anyway cheers, just a suggestion and hope you don't take this as anything but a helpful idea so users are aware not to use this on the client. |
Can we make the bundle size smaller?
The text was updated successfully, but these errors were encountered: