Re:pnpm: Fast, disk space efficient package manager for Java...
by 14u2c on Tuesday April 05, 2022 @07:11PM
(#30926342)
Are people actually downloading dependencies on the fly like this? IMO a bundler is absolutely essential. What if npm is down? What if the version of a dependency has been deleted for some reason? These are surprises you absolutely do not want when a function is starting.
[ Parent
| on HN ]
Re:pnpm: Fast, disk space efficient package manager for Java...
by Aeolun on Wednesday April 06, 2022 @12:11AM
(#30928368)
You don’t download the modules when your function starts. You include 500mb of dependencies in your 50kb lambda function.
The difference in boot time between 50kb and 500mb is quite significant.