Easily pruning unneeded files from node_modules folder
Easily pruning unneeded files from
node_modules
.
Original script written by gpittarelli and neophob.
yarn
and yarn autoclean
cd
to project root and issue the following command.
docker run --rm -v ${PWD}:/app hochzehn/node-prune
npm install -g node-prune
cd
to project root and issue the following command.
node-prune
Output
Before: 135M .
After: 112M .
MIT