Home / Function/ copyRNShims() — react Function Reference

copyRNShims() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3fc31bbc_d369_9459_a4b7_d9f434dce9f9["copyRNShims()"]
  fef369e3_6dfd_944a_16c1_5addc35f485d["packaging.js"]
  3fc31bbc_d369_9459_a4b7_d9f434dce9f9 -->|defined in| fef369e3_6dfd_944a_16c1_5addc35f485d
  d9b69676_4e88_a6d3_0600_162dae2ed537["copyAllShims()"]
  d9b69676_4e88_a6d3_0600_162dae2ed537 -->|calls| 3fc31bbc_d369_9459_a4b7_d9f434dce9f9
  style 3fc31bbc_d369_9459_a4b7_d9f434dce9f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/rollup/packaging.js lines 124–133

async function copyRNShims() {
  await asyncCopyTo(
    `${__dirname}/shims/react-native`,
    'build/react-native/shims'
  );
  await asyncCopyTo(
    require.resolve('react-native-renderer/src/ReactNativeTypes.js'),
    'build/react-native/shims/ReactNativeTypes.js'
  );
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does copyRNShims() do?
copyRNShims() is a function in the react codebase, defined in scripts/rollup/packaging.js.
Where is copyRNShims() defined?
copyRNShims() is defined in scripts/rollup/packaging.js at line 124.
What calls copyRNShims()?
copyRNShims() is called by 1 function(s): copyAllShims.

Analyze Your Own Codebase

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

Try Supermodel Free