lahmatiy/component-inspector

What about babel6?

Closed this issue · 4 comments

cevek commented
What about babel6?

Sorry, but how does babel relate to component-inspector?

cevek commented

As I understand for transformation react code component-inspector use babel plugin, but this plugin is outdated. It is incompatible with babel6

Component Inspectors doesn't use babel or any other things to transform your code. But you can setup something for your project to instrument your code to get information about object/function locations (see Additional features in readme).
For example, babel-plugin-source-wrapper can be used. Yep, its master is using babel 5, but it also has a branch for babel 6.
Anyway it's related to external things not to Component Inspector itself.

I think issue can be closed since plugin supports Babel 6 already. Example was switched to Babel 6 too.