-
Notifications
You must be signed in to change notification settings - Fork 954
Open
Labels
needs:code-contributionThis feature/bug is ready to implementThis feature/bug is ready to implementnever-staletriage:acceptedThis feature has been acceptedThis feature has been acceptedtype:featureA feature with no sub-issues to addressA feature with no sub-issues to addressup-for-grabsGood for taking. Extra help will be provided by maintainersGood for taking. Extra help will be provided by maintainers
Description
We are currently using the browser property of the package.json in order to have browser overrides for node-specific functions. This field is actually not even specified by npm/node, but by webpack. As pointed out by @SimenB in #3723 (reply in thread) this causes issues with at least Jest and likely other build tools.
We should switch to use the more modern conditional exports with a browser stanza in order to ensure greater compatibility with more tools and runtimes.
SimenB, pichlermarc and jaydenseric
Metadata
Metadata
Assignees
Labels
needs:code-contributionThis feature/bug is ready to implementThis feature/bug is ready to implementnever-staletriage:acceptedThis feature has been acceptedThis feature has been acceptedtype:featureA feature with no sub-issues to addressA feature with no sub-issues to addressup-for-grabsGood for taking. Extra help will be provided by maintainersGood for taking. Extra help will be provided by maintainers