npm-shrinkwrap.json
is too large, could be zipped (compressed)
#1111
-
StatementWhen an npm-shrinkwrap.json file is included in a module, this makes it quite large. SolutionIt would be nice to have an option to generate a compressed version of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It’s already compressed in the tarball. I think npm doesn’t need it after installing, so you could probably remove all shrinkwrap files inside node_modules postinstall, if the disk space is an issue. (also, the app at dev time is always larger than at runtime; in production, there shouldn’t be anything in node_modules that isn’t used) |
Beta Was this translation helpful? Give feedback.
It’s already compressed in the tarball. I think npm doesn’t need it after installing, so you could probably remove all shrinkwrap files inside node_modules postinstall, if the disk space is an issue.
(also, the app at dev time is always larger than at runtime; in production, there shouldn’t be anything in node_modules that isn’t used)