@abide-community/parcel-plugin-clean-out-dir

Cleans the Parcel output directory before building

Usage no npm install needed!

<script type="module">
  import abideCommunityParcelPluginCleanOutDir from 'https://cdn.skypack.dev/@abide-community/parcel-plugin-clean-out-dir';
</script>

README

@abide-community/parcel-plugin-clean-out-dir

Cleans the Parcel output directory before building

Usage

Install the plugin with your package manager of choice.

yarn add @abide-community/parcel-plugin-clean-out-dir --dev

# or

npm install --save-dev @abide-community/parcel-plugin-clean-out-dir

Per Parcel's documentation, the plugin will be registered with Parcel during initialization. Now, Parcel's output directory will be cleaned before a build to ensure that previous build assets are not carried over between builds.