Any plans for better NextJS integration #135
cbovis
started this conversation in
Features / New Plugins (Integrations) / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've been trialling the plugin within our NextJS application to track bundle size however the results have been disappointing.
There's no correlation to the type of page level size stats that the NextJS build reports in the CLI and the report added to PRs is seemingly random in its reporting. We'll often see bundles being marked as removed in a PR and then returning in another PR. The reported file sizes often make no sense either, varying by 100s of kilobytes for tiny changes.
We have a pretty standard NextJS app router set up with builds running on Vercel, nothing out of the ordinary. Presumably the plugin hasn't been built with NextJS in mind so we're just getting basic Webpack stats? My guess is that caching between builds may be the culprit when it comes to randomness.
Would really love to use a tool for tracking bundle size supported by the Codecov/Sentry team but at the moment the plugin as it stands just isn't useful to us.
Beta Was this translation helpful? Give feedback.
All reactions