(reactPath = getDefaultReactPath(), skipBuild)
| 102 | } |
| 103 | |
| 104 | async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) { |
| 105 | if (!skipBuild) { |
| 106 | await executeCommand( |
| 107 | `cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD` |
| 108 | ); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | // if run directly via CLI |
| 113 | if (require.main === module) { |
no test coverage detected