Public API for 3rd party integration
lifeart opened this issue · comments
Alex Kanunnikov commented
At the moment ember-inspector
has bunch of initialization magic (checking for some special props to exist). It would be great to have minimal public API to avoid hacking it around. It allow us to bring ember inspector to wider community.
I had few experiments for minimal
script to boot
ember inspector in custom environments:
- Vite & Ember (modules) environment without
amd
, works with thiscompat
file: https://github.com/lifeart/demo-ember-vite/blob/master/src/config/inspector.ts - Glimmer like runtime, with created from scratch
boot
logic: https://github.com/lifeart/glimmer-next/blob/master/src/utils/ember-inspector.ts
No call to action here, just leaving some documentation (code references) how to deal with ember-inspector in 3rd party environments.
Patrick Pircher commented
I think it should just better integrate with ember core in an independent way.
An idea here:
emberjs/ember.js#20580