Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@packmule/clean-pack

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@packmule/clean-pack

Packmule pack to clean directories prior building.

  • 2.0.1-nightly.242
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Clean Pack

Clear a directory prior to building the bundle.

Clean Pack uses clean-webpack-plugin to clear a directory before building. It is advised to clear the webpack output directory prior building to get rid of old files.

Setup

npm install --save-dev @packmule/clean-pack

API

CleanPack()

Options

  • root - Defines the root option of clean-webpack-plugin.
  • debug - Controls the verbose option of clean-webpack-plugin.

Usage

Example

Clears the contents of the webpack output directory prior building.

import Packmule from '@packmule/core';
import CleanPack from '@packmule/clean-pack';

const packmule = new Packmule();
packmule.register(new CleanPack());
return packmule.generate();

License

MIT


Keywords

FAQs

Package last updated on 19 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc