Task for cleaning the dist folder
yarn add --exact @coderesque/task-clean
Add the task to a task runner.
import taskClean from '@coderesque/task-clean'; import TaskRunner from '@coderesque/task-runner'; const runner = new TaskRunner('build-scripts'); runner.add('clean', taskClean());
This will add the clean task to the build scripts.
> build-scripts clean
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.