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

fix(bundle): remove unnecessary exports from bundles #320

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

eunjae-lee
Copy link
Contributor

Summary

This PR removes

  • getRequesterForNode from entry-browser-cjs
  • getRequesterForBrowser from entry-node-cjs

They seem unnecessary.

It also breaks React Native (#319). It resolves entry-browser-cjs but it tries to resolve all the dependencies regarding getRequesterForNode, and fails.

This may be seen as a breaking change, but I doubt if there's any case where they resolve entry-browser-cjs AND need requester for node. Feel free to create an issue for discussion if you have such needs.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6596aee:

Sandbox Source
Vanilla Configuration

Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, the entry point doesn't need those, it can still be imported from utils

@eunjae-lee eunjae-lee merged commit 92ee346 into master Sep 7, 2021
@eunjae-lee eunjae-lee deleted the fix/exports branch September 7, 2021 08:34
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