Rename "dom" fork to "dom-node" and "bun" fork to "dom-bun" (#26117)

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.
This commit is contained in:
Sebastian Markbåge
2023-02-06 15:54:14 -05:00
committed by GitHub
parent 4bf2113a15
commit 03a216070d
11 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
module.exports = [
{
shortName: 'dom',
shortName: 'dom-node',
entryPoints: [
'react-dom',
'react-dom/unstable_testing',
@@ -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',