Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Feb 27, 2020

We're now getting it from npm (react-shallow-renderer) so we don't need this bundle.
Related diff: D20142456.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Feb 27, 2020
@codesandbox-ci
Copy link

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 307d296:

Sandbox Source
frosty-tdd-pmztf Configuration

@gaearon gaearon merged commit 869dbda into facebook:master Feb 27, 2020
@sizebot
Copy link

sizebot commented Feb 27, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 307d296

@sizebot
Copy link

sizebot commented Feb 27, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 307d296

},
{
bundleTypes: [FB_WWW_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
bundleTypes: [NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
Copy link
Collaborator

Choose a reason for hiding this comment

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

We really don't need any of these right? This is just building a forwarding file. We can just hard code that in the /npm/ folder instead. https://github.com/facebook/react/blob/master/packages/react-test-renderer/npm/shallow.js

Like we do for other forwarding modules that are just blank. https://github.com/facebook/react/blob/master/packages/react-dom/npm/server.js

Copy link
Contributor

@NMinhNguyen NMinhNguyen Feb 27, 2020

Choose a reason for hiding this comment

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

I might be missing something, but I think you'd still need UMD. But otherwise, for Node you should be able to hardcode in /npm/.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ugh. UMD. yea.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants