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

Function syncReactDom

scripts/rollup/sync.js:19–28  ·  view source on GitHub ↗
(buildPath, wwwPath)

Source from the content-addressed store, hash-verified

17}
18
19async function syncReactDom(buildPath, wwwPath) {
20 wwwPath = typeof wwwPath === 'string' ? wwwPath : DEFAULT_WWW_PATH;
21
22 if (wwwPath.charAt(wwwPath.length - 1) !== '/') {
23 wwwPath += '/';
24 }
25
26 const destPath = resolvePath(wwwPath + RELATIVE_WWW_PATH);
27 await doSync(buildPath, destPath);
28}
29
30async function syncReactNativeHelper(
31 buildPath,

Callers

nothing calls this directly

Calls 2

resolvePathFunction · 0.85
doSyncFunction · 0.85

Tested by

no test coverage detected