@mrbuilder/plugin-clean

4.4.7-alpha.9 • Public • Published

This provides clean functionality

NOTE This could do terrible things to your filesystem. So please have a backup and use carefullly.

*By default it removes your output directory

Paths

An [array] of string paths to clean

{
paths:[
  'dist',         // removes 'dist' folder
  'build/*.*',    // removes all files in 'build' folder
  'web/*.js'      // removes all JavaScript files in 'web' folder
]
}
Property Type Default Description
paths array outputPath The directories to clean
root string $CWD The Root directory
verbose bool false Be verbose
allowExternal bool false Allow external directory deletion
dry bool false Dry run
exclude [string] Paths to exclude

Readme

Keywords

none

Package Sidebar

Install

npm i @mrbuilder/plugin-clean

Weekly Downloads

1

Version

4.4.7-alpha.9

License

MIT

Unpacked Size

5.01 kB

Total Files

5

Last publish

Collaborators

  • speajus
  • nanandn
  • brycereynolds