Appius Build Tool: Clean
Use this tool to clear out temporary files and directories during your build process.
Installation
Run the following command from your project root.
npm install @appius-digital/task-clean --save
Usage
Add the following to your gulpfile.js
require('@appius-digital/task-clean')(gulp, {
task: 'clean-styles',
files: ['dist/**/*.*'] });
Options
Name | Type | Required | Default | Description |
---|---|---|---|---|
task | String | No | 'clean' | The name of the task to be initialised |
files | Array | Yes | The globs to be deleted |
Copyright and license
Code and documentation Copyright 2019 Appius. Code released under the MIT License.