Skip to content
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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Nov 12, 2024

A better (?) alternative to:

  • Fix vite support content-tag#84
    (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

@ef4
Copy link
Contributor

ef4 commented Nov 12, 2024

This is not related to #2168. That bug is about the top-level browser field in package.json. This bug is about browser inside package.json exports.

Copy link
Collaborator Author

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!

@NullVoxPopuli NullVoxPopuli force-pushed the use-the-browser-conditions branch from 24bc4ee to f3e095c Compare November 15, 2024 21:09
@NullVoxPopuli
Copy link
Collaborator Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants