Home / Function/ build() — react Function Reference

build() — react Function Reference

Architecture documentation for the build() function in build.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  3beb9c0f_5d28_89cd_03fa_c548b71f0122["build()"]
  ac971824_d12c_5d75_424b_b5f680fdbc5c["build.js"]
  3beb9c0f_5d28_89cd_03fa_c548b71f0122 -->|defined in| ac971824_d12c_5d75_424b_b5f680fdbc5c
  style 3beb9c0f_5d28_89cd_03fa_c548b71f0122 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/bench/benchmarks/pe-no-components/build.js lines 5–15

async function build(reactPath, asyncCopyTo) {
  // copy the UMD bundles
  await asyncCopyTo(
    join(reactPath, 'build', 'dist', 'react.production.js'),
    join(__dirname, 'react.production.js')
  );
  await asyncCopyTo(
    join(reactPath, 'build', 'dist', 'react-dom.production.js'),
    join(__dirname, 'react-dom.production.js')
  );
}

Domain

Subdomains

Frequently Asked Questions

What does build() do?
build() is a function in the react codebase, defined in scripts/bench/benchmarks/pe-no-components/build.js.
Where is build() defined?
build() is defined in scripts/bench/benchmarks/pe-no-components/build.js at line 5.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free