@golden-tiger/custom-clean-plugin
v0.0.1
Published
@golden-tiger/custom-clean-plugin
Downloads
3
Maintainers
Readme
@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'),
// ...
]),
],
}