{"library":"unused-webpack-plugin","type":"library","category":null,"description":"A webpack plugin that detects and lists unused source files in one or more directories, helping developers identify dead code. Current stable version is 2.4.0, with maintenance through minor releases. It supports webpack 3 and 4 via the hooks API. Key differentiators: simple configuration (directories, exclude patterns, root), optional failure on unused files, and respect for .gitignore (default true). It does not remove files, only reports them, and is focused on development builds. Compared to alternatives like 'webpack-deadcode-plugin', it is more minimal and relies on directories rather than webpack's module graph exclusively.","language":"javascript","status":"maintenance","version":"2.4.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install unused-webpack-plugin","imports":["const UnusedWebpackPlugin = require('unused-webpack-plugin');","const { UnusedWebpackPlugin } = require('unused-webpack-plugin');","const UnusedWebpackPlugin = require('unused-webpack-plugin');"]},{"cmd":"yarn add unused-webpack-plugin","imports":[]},{"cmd":"pnpm add unused-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/MatthieuLemoine/unused-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/unused-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/unused-webpack-plugin/compatibility"}}