@golden-tiger/custom-clean-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@golden-tiger/custom-clean-plugin

This webpack plugin will remove all files and directories passed from parameters before webpack bundling.

import CustomCleanPlugin from '@golden-tiger/custom-clean-plugin';
// ...
{
  plugins: [
    new CustomCleanPlugin([
      path.join(__dirname, 'dist'),
      path.join(__dirname, 'index.html'),
      // ...
    ]),
  ],
}

Package Sidebar

Install

npm i @golden-tiger/custom-clean-plugin

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Unpacked Size

13.8 kB

Total Files

5

Last publish

Collaborators

  • tigercheng