# react-transform-debug-inspector **Repository Path**: mirrors_gaearon/react-transform-debug-inspector ## Basic Information - **Project Name**: react-transform-debug-inspector - **Description**: React inspector tranformation function for babel-plugin-wrap-react-components - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-transform-debug-inspector React inspector tranformation function for [babel-plugin-react-transform](https://github.com/gaearon/babel-plugin-react-transform) (this feels like more of a demo than a real thing for now, but anyway) ## Install ``` $ npm i -D react-transform-debug-inspector ``` Update your `.babelrc`: ```json "plugins": ["babel-plugin-react-transform"], "extra": { "babel-plugin-react-transform": [{ "target": "react-transform-debug-inspector" }] } ``` If you need advanced settings, add path to config module: ```json "extra": { "babel-plugin-react-transform": [{ "target": "react-transform-debug-inspector", "imports": ["./debug/inspectorConfig"] }] } ``` Config example: ```js // import styles for json tree import 'style!css!react-object-inspector/react-object-inspector.css'; function getMyPanel(component) { // custom components are allowed return