unplugin-remove
JSON →A build tool plugin that automatically removes `console.*` calls (log, warn, error, info, debug) and `debugger` statements in production mode. Version 1.0.3 is the current stable release. It supports Vite, Webpack, Rollup, esbuild, Rspack (experimental), and Rolldown (experimental) with a unified API via the unplugin framework. Key differentiators: zero-config defaults, configurable console types, include/exclude patterns, and source map support. Built on babel for AST transformation. Releases are infrequent, focused on bug fixes and new bundler support.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 5 distinct systems
last hit 17d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/unplugin-remove
compatibility /v1/registry/unplugin-remove/compatibility