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
// Open command prompt and enter below code | |
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rd/s/q "%d" && echo "Removed.. %d" | |
// If you DO NOT want confirmation message before each removal, use blow | |
FOR /d /r . %d in (node_modules,dependencies,dist,".tmp") DO @IF EXIST "%d" rd/s/q "%d" && echo "Removed.. %d" | |
// Multiple folders can be specified as | |
FOR /d /r . %d in (node_modules,dist,".tmp") DO @IF EXIST "%d" rd/s/q "%d" && echo "Removed.. %d" |
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
var myFunction = function() { | |
console.log('This is a sample javascript function'); | |
} |