lahmatiy / component-inspector

Component DOM inspector
MIT License
350 stars 27 forks source link

Build non-minification bundles #15

Open smacker opened 8 years ago

smacker commented 8 years ago

I'm playing around with component-inspector and react, but I can't make it works with my project. I see that "ready" callback was called, but there no component-inspector panel. I tried to debug it, but with minified source it very hard. Maybe you could build dist/react.js and dist/react.min.js? It will be much easer to debug without installing all basis staff.

lahmatiy commented 8 years ago

You can include inspector w/o building, as described in implementation section of readme (see first <script> example).

smacker commented 8 years ago

I can't. Because I can't add script tag in my page. I just added dist/react.js in my build process. Anyway I build component-inspector without compressing by basis-tools and found why it didn't work. So now my problem is solved, but could be easer.

lahmatiy commented 8 years ago

Glad to know you solve your problem. I thought about dev-version. But we need to change building process, so it builds only on publish and don't store it on git (npm only). Will try do so later.