Created
October 2, 2023 16:11
-
-
Save Allvaa/322a5b302a45726c62deb139b4a08083 to your computer and use it in GitHub Desktop.
Simple package.json script to clean your dist directory!
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 'require(`node:fs`).rmSync(require(`node:path`).resolve(`dist`),{recursive:true,force:true})'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment