How to Worry About npm Package Weight

It’s all too easy to go crazy with the imports and end up with megabytes upon megabytes of JavaScript. It can be a problem as that weight burdens each and every visitor from our site, very possibly delaying or stopping them from doing what they came to do on the site. Bad for them, worse for you.
There is all sorts of ways to keep an eye on it.

You could have a peak on Bundlephobia
Bundlephobia will give you …
The post How to Worry About npm Package Weight appeared first on CSS-Tricks.

Link: https://css-tricks.com/how-to-worry-about-npm-package-weight/