logoalt Hacker News

Groxxyesterday at 5:45 AM1 replyview on HN

it helps a lot if you make an effort to keep your dependency tree relatively small


Replies

TonyStryesterday at 7:27 AM

We are talking about npm here... Any framework like React, Vue, Angular, Svelte, etc. is going to pull in hundreds or thousands of packages. I just checked one of the smallest web projects I have (5 dependencies, no framework) and it has 265 packages In package-lock.json. My personal website (vite + nuxt) has 1171.