You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
node-wot is getting quite heavy with all the dependencies (including devDependencies).
Running npm prune --production should do the job to remove all devDependencies. Anyhow, with lerna it's a bit different and with some hint from here I managed to run sudo lerna exec -- npm prune --production on Linux and it gets me down from more than 500MB to 179MB.
Note: I believe there are still dependencies that are not needed at runtime.
Running the same command on Windows fails with ENOENT error
I did a clean-up of devDependencies vs dependencies. Due to npm, a development node-wot installation is still very large due to the redundant node_modules. Nothing much to do about this unless we change to something like Yarn.
node-wot
is getting quite heavy with all the dependencies (including devDependencies).Running
npm prune --production
should do the job to remove all devDependencies. Anyhow, with lerna it's a bit different and with some hint from here I managed to runsudo lerna exec -- npm prune --production
on Linux and it gets me down from more than 500MB to 179MB.Note: I believe there are still dependencies that are not needed at runtime.
Running the same command on Windows fails with ENOENT error
The text was updated successfully, but these errors were encountered: