Preparing for system design interviews?  Try bugzed.com →

unused-webpack-plugin

JSON →
library 2.4.0 ·javascript maintenance
verified Jun 17, 2026

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.

total hits 14
actors 5 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
Amazonbot
4
Script
1
ByteDance
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇬🇧 United Kingdom