Preparing for system design interviews?  Try bugzed.com →

babel-plugin-danger-remove-unused-import

JSON →
library 2.0.0 ·javascript deprecated
verified Jun 17, 2026

Babel plugin to remove unused imports, reducing bundle size. Version 2.0.0 as of latest release. Updated sporadically; last commit 2020. Key differentiator: aggressively removes imports even if side effects exist (hence 'dangerous'), with opt-out via ignore option. Alternatives (babel-plugin-transform-remove-imports) are less aggressive. Only supports ESM imports, not CommonJS require statements.

total hits 9
actors 3 distinct systems
last hit 18d ago AhrefsBot
GPTBot
4
Script
1

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