-
Notifications
You must be signed in to change notification settings - Fork 292
Add support for Vite #2625
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
Add support for Vite #2625
Conversation
dfacb9a
to
a358ca1
Compare
a358ca1
to
40c998b
Compare
Rebased on #2668: since |
c82e465
to
c757db7
Compare
c757db7
to
a3f19ff
Compare
|
||
let self = this; | ||
// maintaining `baseURL` for backwards compatibility. See: http://emberjs.com/blog/2016/04/28/baseURL.html | ||
- let baseURL = options.liveReloadBaseUrl || options.rootURL || options.baseURL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to ship this change in this package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this is something that we should ship upstream but for now this just unblocks local development
import Port from 'ember-debug/port'; | ||
import setupEmberDebugTest from '../helpers/setup-ember-debug-test'; | ||
|
||
// import PortImport from 'ember-debug/port'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left over comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with signing off on this. If anything comes up (if I need to), I'm happy to fix things
This PR finalises a lot of work done to get the Ember Inspector to support Vite 🎉 This will require a global API that Embroider can polyfill after this PR is merged: embroider-build/embroider#2522
There will be a follow up RFC that will move this polyfill implementation into ember-source 👍