Created
November 10, 2022 17:46
-
-
Save Segmentational/e8ef4e05d69788c8e8b149f052361a00 to your computer and use it in GitHub Desktop.
Node Directory + JS Clean-Up
This file contains 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
find . -name "node_modules" -type "d" -exec "rm -rf {} || true" \; | |
find . -name "*.js" -type "f" -exec rm -f {} \; | |
find . -name "*.js.map" -type "f" -exec rm -f {} \; | |
find . -name "*.d.ts" -type "f" -exec rm -f {} \; | |
find . -name "*.ts.map" -type "f" -exec rm -f {} \; | |
find . -name "*.d.ts.map" -type "f" -exec rm -f {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment