Skip to content

Commit

Permalink
[DOM] Infer react-server entries bundles if not explicitly configured (
Browse files Browse the repository at this point in the history
…#28795)

When packaging we want to infer that a bundle exists for a
`react-server` file even if it isn't explicitly configured. This is
useful in particular for the react-server entrypoints that error on
import that were recently added to `react-dom`

This change also cleans up a wayward comment left behind in a prior PR

DiffTrain build for [7f93cb4](7f93cb4)
  • Loading branch information
gnoff committed Apr 9, 2024
1 parent 1c05d71 commit e992aaa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f6131653570bbbf62d642ba9343b9cd0ab1ae97c
7f93cb41c8e1352eec158e508bc612025425266d
4 changes: 2 additions & 2 deletions compiled/facebook-www/ReactDOMTesting-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -36769,7 +36769,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "19.0.0-www-classic-45e82962";
var ReactVersion = "19.0.0-www-classic-47ca9f1a";

function createPortal$1(
children,
Expand Down Expand Up @@ -50441,7 +50441,7 @@ if (__DEV__) {
NoEventPriority,
findDOMNode: null,
usingClientEntryPoint: false
}; // if (true) {
};

{
if (
Expand Down
4 changes: 2 additions & 2 deletions compiled/facebook-www/ReactDOMTesting-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -46397,7 +46397,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "19.0.0-www-modern-0db632cf";
var ReactVersion = "19.0.0-www-modern-cb18514c";

function createPortal$1(
children,
Expand Down Expand Up @@ -48926,7 +48926,7 @@ if (__DEV__) {
NoEventPriority,
findDOMNode: null,
usingClientEntryPoint: false
}; // if (true) {
};

{
if (
Expand Down

0 comments on commit e992aaa

Please sign in to comment.