Comment on Install NPM dependencies that run in browser without Browserify, WebpackComments−rubbingalcohol7yI'm very curious how you could possibly avoid code bloat with this. Installing hundreds of megabytes of dependencies is fine server side, but won't this approach lead to massive JS downloads?−est317yYeah, bundlers have dead code analysis and throw some of the unused code out.−kevinsimper7yYou can look for packages that have zero dependencies :)
Comments
I'm very curious how you could possibly avoid code bloat with this. Installing hundreds of megabytes of dependencies is fine server side, but won't this approach lead to massive JS downloads?
Yeah, bundlers have dead code analysis and throw some of the unused code out.
You can look for packages that have zero dependencies :)