-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build ember_debug with vite #2458
Conversation
157ddc9
to
0bf2b66
Compare
0bf2b66
to
a554d0b
Compare
this will not work after all... |
Reopen, this could minimise the setup clients need to do to get inspector working |
@patricklx this seems to break Ember < 3.28. If this is something we are going to need, we will have to cut a new legacy branch and make the main branch only support Ember 3.28+ |
I could probably support older versions as well. But we need a compat adapter anyway. This just reduces it |
🎉 It reduces the deps on client ember to
|
@NullVoxPopuli @RobbieTheWagner |
Well, this will at least reduce those issues. |
Actually, we could also fallback to own runloop, but then we need to have a setup a interval, so that backburner will be invoked. |
a0f982b
to
9a0e178
Compare
this now works on limber
|
Why close? |
This fixes only half of the problem. |
One idea someone had yesterday was to:
thoughts? |
Sounds good to me. could be backported to earlier ember versions? |
at the very least LTSes -- but it's not unheard of for folks on older embers to use older ember-inspectors |
I think this is a slippery slope to try to have ember_debug ship its own Ember. It runs in the context of your app, so as Ember changes, it's going to be constant whack-a-mole trying to make all the things work. I personally think it's okay if a user decides to strip out parts of Ember in production and Ember Inspector doesn't work then. It should still work in dev mode. If we want to build public APIs into ember-source for compatibility, I am all for that. Not using hacks, and instead using a tailor made API that just does all the debug stuff would be much preferred and would guarantee we don't break inspector in the future. |
and selective choose what we actually need from the clients ember
ember_debug.js 382.13 kB │ gzip: 118.16 kB when minimized
fixes #2457
This is actually not required. But it could reduce the things we need to import from the clients ember