{"library":"babel-plugin-transform-react-router-optimize","type":"library","category":null,"description":"A Babel plugin that automatically rewrites ES2015 imports from 'react-router' (v2/v3) to direct file imports under '/lib', enabling bundle size optimization by cherry-picking only the used components. Stable at v1.0.2, released September 2017. Requires react-router >=2.0.0. Designed for Babel 6, not compatible with Babel 5. Key differentiator: eliminates manual import rewriting for React Router bundle optimization.","language":"javascript","status":"maintenance","version":"1.0.2","tags":["javascript","babel-plugin","react-router","optimization","minify","react","reactjs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-react-router-optimize","imports":["import plugin from 'babel-plugin-transform-react-router-optimize';","{\n  \"plugins\": [\"transform-react-router-optimize\"]\n}","const babel = require('babel-core');\nbabel.transform(code, { plugins: ['transform-react-router-optimize'] });"]},{"cmd":"yarn add babel-plugin-transform-react-router-optimize","imports":[]},{"cmd":"pnpm add babel-plugin-transform-react-router-optimize","imports":[]}],"homepage":null,"github":"https://github.com/nerdlabs/babel-plugin-transform-react-router-optimize","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-react-router-optimize","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-react-router-optimize/compatibility"}}