Add bundle size check #183
miguellteixeira
started this conversation in
General
Replies: 1 comment 1 reply
-
Makes total sense @miguellteixeira, great suggestion. In terms of using bundlewatch, seems like an excellent suggestion. I've just created PL-234 for this matter so that we can tackle it in the near future. 👏 For the second part, it was already in our plans to add the bundle analyzer, and I actually merged that change last week — |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think adding a CI check might be a good idea to continuously keep an eye on our bundle size without much effort.
Here's one package that could allow us to perform that check on every pull request:
https://github.com/bundlewatch/bundlewatch
We might as well consider for development purposes, adding a bundle analyzer tool:
https://www.npmjs.com/package/@next/bundle-analyzer
Beta Was this translation helpful? Give feedback.
All reactions