babel-plugin-transform-dev
JSON →Babel v6 plugin that replaces all occurrences of __DEV__ with the evaluation of "production" !== process.env.NODE_ENV. Currently at version 2.0.1, with no recent updates. It simplifies stripping development-only code from production bundles. Unlike similar plugins, it evaluates the expression at build time, replacing __DEV__ with a boolean literal. Limited to Babel v6; unmaintained since 2018. Use @babel/plugin-transform-dotenv or custom plugins for modern Babel.
Traffic · last 30 days ↓20% vs prev 7d
total hits 22
actors 7 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · PT
Resources
API endpoints
compatibility /v1/registry/babel-plugin-transform-dev/compatibility