mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Add Bun streaming server renderer (#25597)
Add support for Bun server renderer
This commit is contained in:
@@ -24,6 +24,8 @@ const {
|
||||
NODE_DEV,
|
||||
NODE_PROD,
|
||||
NODE_PROFILING,
|
||||
BUN_DEV,
|
||||
BUN_PROD,
|
||||
FB_WWW_DEV,
|
||||
FB_WWW_PROD,
|
||||
FB_WWW_PROFILING,
|
||||
@@ -49,6 +51,9 @@ function getBundleOutputPath(bundle, bundleType, filename, packageName) {
|
||||
return `build/node_modules/${packageName}/cjs/${filename}`;
|
||||
case NODE_ESM:
|
||||
return `build/node_modules/${packageName}/esm/${filename}`;
|
||||
case BUN_DEV:
|
||||
case BUN_PROD:
|
||||
return `build/node_modules/${packageName}/cjs/${filename}`;
|
||||
case NODE_DEV:
|
||||
case NODE_PROD:
|
||||
case NODE_PROFILING:
|
||||
|
||||
Reference in New Issue
Block a user