-
Notifications
You must be signed in to change notification settings - Fork 142
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 the 'browser' condition for conditions when resolving #2170
base: main
Are you sure you want to change the base?
Conversation
This is not related to #2168. That bug is about the top-level |
tests/scenarios/v2-addon-test.ts
Outdated
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.
a failing test!
My fix was insufficient!
… use a newer browser target that supports top-level await
24bc4ee
to
f3e095c
Compare
potentially blocked on vitejs/vite#17837 (unless I use a different dependency for testing -- which I probably should, as the problems I'm having here are vite-related, not embroider related) |
A better (?) alternative to:
(which I couldn't really get working for all the use cases (thanks attw & publint!))
context here with what I've explored may be important
Related issue
Outdated Optimize Dep
error when consuming 'normal' (direct) npm packages with vite – deps not ending up innode_modules/.vite/deps
#2168