vite-plugin-remove-console
JSON →A Vite plugin that removes specified console statements in production builds. Current stable version is 2.2.0 (released 2023-12-04). Active development with regular releases. Key differentiators: supports custom removal statements via `custom` option, can retain specific console values via `externalValue`, and can exclude certain files via `external`. Works with .js, .ts, .jsx, .tsx, .vue, .svelte files. Comparison alternatives: unplugin-remove-console may be more framework-agnostic, but this plugin is Vite-specific and simple to configure.
Traffic · last 30 days stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 24d ago AhrefsBot
top countries 🇺🇸 United States · VN · 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada
Resources
API endpoints
compatibility /v1/registry/vite-plugin-remove-console/compatibility