(buildPath, destPath)
| 10 | const RELATIVE_WWW_PATH = 'html/shared/react/'; |
| 11 | |
| 12 | async function doSync(buildPath, destPath) { |
| 13 | console.log(`${chalk.bgYellow.black(' SYNCING ')} React to ${destPath}`); |
| 14 | |
| 15 | await asyncCopyTo(buildPath, destPath); |
| 16 | console.log(`${chalk.bgGreen.black(' SYNCED ')} React to ${destPath}`); |
| 17 | } |
| 18 | |
| 19 | async function syncReactDom(buildPath, wwwPath) { |
| 20 | wwwPath = typeof wwwPath === 'string' ? wwwPath : DEFAULT_WWW_PATH; |
no test coverage detected