Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

npm-shrinkwrap.json is too large, could be zipped (compressed) #1111

Answered by ljharb
RupertBarrow asked this question in CLI
Discussion options

You must be logged in to vote

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)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RupertBarrow
Comment options

Answer selected by leobalter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet
2 participants