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

Remove browser field with umd bundle #541

Merged
merged 1 commit into from
Jul 28, 2019
Merged

Remove browser field with umd bundle #541

merged 1 commit into from
Jul 28, 2019

Conversation

TrySound
Copy link
Contributor

browser field has a priority over module field in all bundlers. Adding it to package.json drops all goodness of esm bundle.
It should be used in a bit different way to support both node and browser fields.
https://github.com/uber/react-map-gl/blob/1da1398c063ffc3b8464744bde6781cb5dc3866e/package.json#L20-L24

`browser` field has a priority over `module` field in all bundlers. Adding it to package.json drops all goodness of esm bundle.
It should be used in a bit different way to support both node and browser fields.
https://github.com/uber/react-map-gl/blob/1da1398c063ffc3b8464744bde6781cb5dc3866e/package.json#L20-L24
@TrySound
Copy link
Contributor Author

Friendly ping @clauderic

@clauderic clauderic merged commit d3b30fd into clauderic:master Jul 28, 2019
@TrySound TrySound deleted the patch-1 branch July 29, 2019 06:49
@TrySound
Copy link
Contributor Author

TrySound commented Aug 5, 2019

Hi @clauderic.If you have some time could you publish latest changes?

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