buildForChannel() — react Function Reference
Architecture documentation for the buildForChannel() function in build-all-release-channels.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 4ed01f41_672c_8a65_1fb5_8247f07c8ea2["buildForChannel()"] 39121ebe_f6d4_878e_0797_7a6b417f5f9a["build-all-release-channels.js"] 4ed01f41_672c_8a65_1fb5_8247f07c8ea2 -->|defined in| 39121ebe_f6d4_878e_0797_7a6b417f5f9a c4f900f2_b639_f662_05d1_7ae05c59be96["main()"] c4f900f2_b639_f662_05d1_7ae05c59be96 -->|calls| 4ed01f41_672c_8a65_1fb5_8247f07c8ea2 style 4ed01f41_672c_8a65_1fb5_8247f07c8ea2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/rollup/build-all-release-channels.js lines 158–177
function buildForChannel(channel, total, index) {
const {status} = spawnSync(
'node',
['./scripts/rollup/build.js', ...process.argv.slice(2)],
{
stdio: ['pipe', process.stdout, process.stderr],
env: {
...process.env,
RELEASE_CHANNEL: channel,
CI_TOTAL: total,
CI_INDEX: index,
},
}
);
if (status !== 0) {
// Error of spawned process is already piped to this stderr
process.exit(status);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does buildForChannel() do?
buildForChannel() is a function in the react codebase, defined in scripts/rollup/build-all-release-channels.js.
Where is buildForChannel() defined?
buildForChannel() is defined in scripts/rollup/build-all-release-channels.js at line 158.
What calls buildForChannel()?
buildForChannel() is called by 1 function(s): main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free