@coderesque/task-clean

Task for cleaning the dist folder

Usage no npm install needed!

<script type="module">
  import coderesqueTaskClean from 'https://cdn.skypack.dev/@coderesque/task-clean';
</script>

README

@coderesque/task-clean

Task for cleaning the dist folder

Install

yarn add --exact @coderesque/task-clean

Usage

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

Note

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.

License

MIT