NPM clean modules


Question

Is there a way to get npm to unbuild all the modules under node_modules? Something like npm rebuild that removes all build artifacts but doesn't rebuild them?

1
123
7/5/2012 8:05:58 PM

You can just delete the node_module directory

rm -rf node_modules/
139
7/6/2012 10:04:59 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon