Re:NPMprune: Remove unnecessary files from node_modules to o...
by arthurwhite on Wednesday November 29, 2023 @01:40PM
(#38463314)
Because its primary focus is on redefining how dependencies are stored and accessed, rather than modifying the contents of these dependencies.
Useless files will still be there.
Also, when you create a Docker image, you avoid packing in dev tools that aren't absolutely essential (such as Yarn).
Re:NPMprune: Remove unnecessary files from node_modules to o...
by butshouldyou on Wednesday November 29, 2023 @03:36PM
(#38464936)
FYI: The default node Docker images already include yarn.
https://yarnpkg.com/features/pnp