buildReactBundles() — react Function Reference
Architecture documentation for the buildReactBundles() function in build.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD d6217845_7bd8_7f14_d2dd_5a7360050c6d["buildReactBundles()"] 5e153800_aec7_3467_f7c7_9d8fa2ae38f0["build.js"] d6217845_7bd8_7f14_d2dd_5a7360050c6d -->|defined in| 5e153800_aec7_3467_f7c7_9d8fa2ae38f0 a9800322_5064_0683_f71d_e6b13a41726a["buildBenchmarkBundlesFromGitRepo()"] a9800322_5064_0683_f71d_e6b13a41726a -->|calls| d6217845_7bd8_7f14_d2dd_5a7360050c6d f1905353_2906_d015_f5e7_4d55d64c0d47["getDefaultReactPath()"] d6217845_7bd8_7f14_d2dd_5a7360050c6d -->|calls| f1905353_2906_d015_f5e7_4d55d64c0d47 54b34d9e_154e_116b_cd9b_07f310d89e52["executeCommand()"] d6217845_7bd8_7f14_d2dd_5a7360050c6d -->|calls| 54b34d9e_154e_116b_cd9b_07f310d89e52 style d6217845_7bd8_7f14_d2dd_5a7360050c6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/bench/build.js lines 104–110
async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) {
if (!skipBuild) {
await executeCommand(
`cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD`
);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does buildReactBundles() do?
buildReactBundles() is a function in the react codebase, defined in scripts/bench/build.js.
Where is buildReactBundles() defined?
buildReactBundles() is defined in scripts/bench/build.js at line 104.
What does buildReactBundles() call?
buildReactBundles() calls 2 function(s): executeCommand, getDefaultReactPath.
What calls buildReactBundles()?
buildReactBundles() is called by 1 function(s): buildBenchmarkBundlesFromGitRepo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free