webpack-unused-file-plugin
v0.0.1
Published
find unused files by webpack
Downloads
4
Readme
webpack-unused-file-plugin
Install
npm install webpack-unused-file-plugin --save
Usage
const { WebpackUnusedFilePlugin } = require('webpack-unused-file-plugin');
module.exports = {
plugins: [new WebpackUnusedFilePlugin(options)],
};
Options
| Key | Value | Description |
| --- | --- | --- |
| patterns | ["**/*.*"]
| glob-all(patterns) |
| error | false
| show error. |
| globOptions | {ignore: "node_modules/**/*"}
| node-glob(options) |