mirror of
https://github.com/eznix86/webpack-empty-files-cleanup-plugin.git
synced 2026-07-25 21:09:12 +00:00
Webpack plugin for removing empty files, or classified as 0 bytes
- JavaScript 100%
| .gitignore | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
webpack-empty-files-cleanup-plugin
Webpack plugin for removing empty files, or classified as 0 bytes.
Usage
const WebpackEmptyFilesCleanUpPlugin = require('webpack-empty-files-cleanup-plugin');
let options = {verbose: true, dry: true}
/* ... */
plugins.push(new WebpackEmptyFilesCleanUpPlugin(options));
Options
An required parameter with properties.
verbose (boolean)
When set to true, webpack output logs for this package.
dry (boolean)
If set to true, webpack will not remove generated empty files.