by memco · 4y ago · 0 comments
On a related note: our NPM install times are even worse: any tips to help there would be welcome.
The negative: sometimes it plays bad with some packages. Sometimes you need the (stupidly named) —shamefully-hoist, sometimes even that doesn’t help.
pnpm by default does NOT have the flat structure in node_modules but puts into separate sub-folders; sometimes it plays bad with some dependencies that expect the flat structure (usually webpack-related cludges)
But if you are starting fresh, or can spend some time on debugging, pnpm is amazing.
Why would one want to infer the requirements file? Would that be like `pip list --not-required --format-freeze`?