Skip to content

Commit

Permalink
Rename "dom" fork to "dom-node" and "bun" fork to "dom-bun" (#26117)
Browse files Browse the repository at this point in the history
The "dom" configuration is actually the node specific configuration. It
just happened to be that this was the mainline variant before so it was
implied but with so many variants, this is less obvious now.

The "bun" configuration is specifically for "bun". There's no "native"
renderer for "bun" yet.
  • Loading branch information
sebmarkbage committed Feb 6, 2023
1 parent 4bf2113 commit 03a2160
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/shared/inlinedHostConfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

module.exports = [
{
shortName: 'dom',
shortName: 'dom-node',
entryPoints: [
'react-dom',
'react-dom/unstable_testing',
Expand Down Expand Up @@ -46,7 +46,7 @@ module.exports = [
isServerSupported: true,
},
{
shortName: 'bun',
shortName: 'dom-bun',
entryPoints: ['react-dom', 'react-dom/src/server/ReactDOMFizzServerBun.js'],
paths: [
'react-dom',
Expand Down

0 comments on commit 03a2160

Please sign in to comment.