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

browsers field not taken into account when using exports. #3788

Closed
alan-agius4 opened this issue May 29, 2024 · 1 comment
Closed

browsers field not taken into account when using exports. #3788

alan-agius4 opened this issue May 29, 2024 · 1 comment

Comments

@alan-agius4
Copy link

No description provided.

@evanw
Copy link
Owner

evanw commented May 29, 2024

Closing as by design. Packages that use exports are supposed to use the browser condition instead: https://esbuild.github.io/api/#how-conditions-work

@evanw evanw closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
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

No branches or pull requests

2 participants