Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@alloc/fast-rimraf

aleclarson71MIT1.0.8

A tool to delete a huge directory fast

rimraf, fast, delete, remove, directory, huge, large, big, unix, linux, mac, macos

readme

@alloc/fast-rimraf

fast-rimraf first moves the directory, you want to delete, into another location so in the blink of an eye you have an empty space in the parent directory. Then it deletes the moved directory in background in order to free space in your disk.

Usage

pnpm i @alloc/fast-rimraf -D

In your package.json:

"scripts": {
  "build": "rimraf dist && [your script here]"
}