{"library":"babel-plugin-transform-dev","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","babel-plugin","transform","dev","debug"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-dev","imports":["import plugin from 'babel-plugin-transform-dev'","module.exports = { plugins: ['transform-dev'] }","module.exports = { plugins: [['transform-dev', { evaluate: false }]] }"]},{"cmd":"yarn add babel-plugin-transform-dev","imports":[]},{"cmd":"pnpm add babel-plugin-transform-dev","imports":[]}],"homepage":null,"github":"https://github.com/martinandert/babel-plugin-transform-dev","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-dev","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-dev/compatibility"}}