Home / Function/ copyPublicFolder() — react Function Reference

copyPublicFolder() — react Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

fixtures/flight/scripts/build.js lines 204–208

function copyPublicFolder() {
  fs.copySync('public', 'build', {
    dereference: true,
  });
}

Domain

Subdomains

Frequently Asked Questions

What does copyPublicFolder() do?
copyPublicFolder() is a function in the react codebase, defined in fixtures/flight/scripts/build.js.
Where is copyPublicFolder() defined?
copyPublicFolder() is defined in fixtures/flight/scripts/build.js at line 204.

Analyze Your Own Codebase

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

Try Supermodel Free