Webpack plugin for removing empty files, or classified as 0 bytes
  • JavaScript 100%
Find a file
Bruno Bernard 8f2f1109f3 1.0.3
2020-12-19 23:37:58 +04:00
.gitignore init 2020-12-19 19:50:00 +04:00
index.js fix import 2020-12-19 19:56:46 +04:00
package-lock.json 1.0.3 2020-12-19 23:37:58 +04:00
package.json 1.0.3 2020-12-19 23:37:58 +04:00
README.md fix readme 2020-12-19 23:37:55 +04:00

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.