Created
December 8, 2019 22:39
-
-
Save juliostanley/7100a1c5ad05d29c8e32347f8ab5a5d7 to your computer and use it in GitHub Desktop.
Clean node_modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove node_modules at a certain depth (assumes npm install -g rimraf has been done) | |
gci "$(pwd)/*/*/*" -Filter node_modules | %{ rimraf "$_" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment