@coderesque/task-empty-dist

Task for emptying the dist folder

Usage no npm install needed!

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

README

@coderesque/task-empty-dist

Task for emptying the dist folder

Install

yarn add --exact @coderesque/task-empty-dist

Usage

Add the task to a task runner.

import taskEmptyDist from '@coderesque/task-empty-dist';
import TaskRunner from '@coderesque/task-runner';


const runner = new TaskRunner('build-scripts');
runner.add('empty-dist', taskEmptyDist());

This will add the empty dist task to the build scripts.

> build-scripts empty-dist

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