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

Exclude react-dom/unstable_testing entry point from stable releases #23258

Merged
merged 7 commits into from
Feb 9, 2022
Prev Previous commit
Next Next commit
Exclude the testing build from non-experimental builds except at FB
  • Loading branch information
sebmarkbage committed Feb 9, 2022
commit 17bcd78f6be05f012b6851083e2acad4720666fe
7 changes: 4 additions & 3 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,13 @@ const bundles = [
externals: ['react', 'react-dom'],
},

// TODO: We don't use this bundle anymore
/******* React DOM - www - Testing *******/
{
moduleType: RENDERER,
bundleTypes: [FB_WWW_DEV, FB_WWW_PROD, NODE_DEV, NODE_PROD],
entry: 'react-dom/testing',
bundleTypes: __EXPERIMENTAL__
? [FB_WWW_DEV, FB_WWW_PROD, NODE_DEV, NODE_PROD]
: [FB_WWW_DEV, FB_WWW_PROD],
entry: 'react-dom/unstable_testing',
global: 'ReactDOMTesting',
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
Expand Down