Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Clean for Parcel A parcel plugin to remove/clean your build folder(s) before building

License

Notifications You must be signed in to change notification settings

lifuzhao100/parcel-plugin-clean-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean for parcel

A parcel plugin to remove/clean your build folder(s) before building

Installation

npm

npm i parcel-plugin-clean-easy -D

yarn

yarn add parcel-plugin-clean-easy --dev

Usage

// package.json
{
  "parcelCleanPaths": []
}

parcelCleanPaths (Required)

An [array] of string paths to clean

[
  'dist',         // removes 'dist' folder
  'build/*.*',    // removes all files in 'build' folder
  'web/*.js'      // removes all JavaScript files in 'web' folder
]

parcelCleanUnsafePaths (Optional)

Add this option to your package.json to allow the plugin cleaning outside folders.

About

Clean for Parcel A parcel plugin to remove/clean your build folder(s) before building

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published