geoperez / parcel-plugin-clean-easy

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
]

About

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

License:MIT License


Languages

Language:JavaScript 100.0%