Home / File/ build.js — react Source File

build.js — react Source File

Architecture documentation for build.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

'use strict';

const {join} = require('path');

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')
  );
}

module.exports = build;

Domain

Subdomains

Functions

Frequently Asked Questions

What does build.js do?
build.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Entrypoint subdomain.
What functions are defined in build.js?
build.js defines 1 function(s): build.
Where is build.js in the architecture?
build.js is located at scripts/bench/benchmarks/pe-no-components/build.js (domain: BabelCompiler, subdomain: Entrypoint, directory: scripts/bench/benchmarks/pe-no-components).

Analyze Your Own Codebase

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

Try Supermodel Free