A parcel plugin to remove/clean your build folder(s) before building. This fork allows to remove outside folders too!
npm install parcel-plugin-clean-easy-unsafe
npm i parcel-plugin-clean-easy -D
`
yarn
`
yarn add parcel-plugin-clean-easy --dev
`
Usage
`js
// package.json
{
"parcelCleanPaths": [],
"parcelCleanUnsafePaths": true
}
`
$3
An [array] of string paths to clean
`js
[
'dist', // removes 'dist' folder
'build/.', // removes all files in 'build' folder
'web/*.js' // removes all JavaScript files in 'web' folder
]
``