Created
July 8, 2024 23:38
-
-
Save LivingGhost/24d4d0cc6ffd9b7574e172284588be46 to your computer and use it in GitHub Desktop.
"npm run clean"で特定のフォルダを削除したいとき (Node.js v12以降)
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
{ | |
"scripts": { | |
"clean": "node -e 'fs.rmSync(`./dist`, {recursive: true, force: true})'", | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment