Conversation
|
@yslpn is attempting to deploy a commit to the Crowdin Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2402 +/- ##
==========================================
- Coverage 77.05% 76.70% -0.35%
==========================================
Files 84 100 +16
Lines 2157 2752 +595
Branches 555 720 +165
==========================================
+ Hits 1662 2111 +449
- Misses 382 513 +131
- Partials 113 128 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Just leave it here for reference, this is a main function building the package for stats in bundlephobia |
|
So bundlephobia uses rspack with that config to build and generate the stats We may want to recreate this build locally, and optimize it for bundlephobia. Im not very familiar with rspack, im seeing that they are defining |
|
Yes it is replacing https://rspack.rs/config/mode#production So we defenetely need to recreate a local build and understand what go wrong. Probably Lingui's compiler optimization doesn't work properly in rspack |
|
I created a local project and investigated how that works, actually compiler is not included in the build, because with a compiler size is So it's just a stats on bundlephobia are confusing. And proabably effectiveness of the minifier is slightly diffrent to what esbuild do (in our CI) |
…, migrate to bundlejs.com
It worked when I made a pull request. It seems like it's an internal server error in Bundlephobia. I think we should switch to bundlejs.com. The service has a more user-friendly UI where you can precisely import the necessary functions and view the bundle size. Most importantly, it allows excluding React from the bundle calculation. They use esbuild I added an example of badges to the PR description. |
|
It's crazy, but all services and badges have stopped working. I'll move it to draft for now. |
|
sorry guys that was a glitch on my part, I was fixing some bugs and the badges went down temporarily they are now back up |
Thank you very much for your work! It works now. |

Description
Replace hardcoded bundle sizes with dynamic bundlejs.com badges in README and docs.
Types of changes
Checklist