component-inspector icon indicating copy to clipboard operation
component-inspector copied to clipboard

Build non-minification bundles

Open smacker opened this issue 9 years ago • 3 comments

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.

smacker avatar Dec 09 '15 04:12 smacker

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

lahmatiy avatar Dec 09 '15 12:12 lahmatiy

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.

smacker avatar Dec 09 '15 16:12 smacker

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.

lahmatiy avatar Dec 09 '15 16:12 lahmatiy