MCPcopy Index your code
hub / github.com/react/react / buildReactBundles

Function buildReactBundles

scripts/bench/build.js:104–110  ·  view source on GitHub ↗
(reactPath = getDefaultReactPath(), skipBuild)

Source from the content-addressed store, hash-verified

102}
103
104async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) {
105 if (!skipBuild) {
106 await executeCommand(
107 `cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD`
108 );
109 }
110}
111
112// if run directly via CLI
113if (require.main === module) {

Callers 2

benchmarkLocalFunction · 0.85

Calls 2

getDefaultReactPathFunction · 0.85
executeCommandFunction · 0.85

Tested by

no test coverage detected