dillon1000/react

Commit

Delete Entries without Build Output from package.json and the build directory (#19029)

* Gate test

* Delete entrypoints without Build Outputs from package.json and build output

If an entry point exists in bundles.js but doesn't have any bundleTypes,
I delete that entry point file from the build directory. I also remove it
from the files field in package.json if it exists.

This allows us to remove bundles from being built in the stable release
channel.
Browse files
Changed paths7 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMFizzServerBrowser-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMFizzServerNode-test.js ModifiedM packages/react-fetch/src/__tests__/ReactFetchBrowser-test.js ModifiedM packages/react-fetch/src/__tests__/ReactFetchNode-test.js ModifiedM packages/react/src/__tests__/ReactCache-test.js ModifiedM scripts/rollup/bundles.js ModifiedM scripts/rollup/packaging.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…