(config: BuildConfig)
| 5 | // Run tsc for docs separately because it requires e.g. qwik-react types to be built first |
| 6 | // plus it takes some time to run and we don't need to run it during core dev. |
| 7 | export async function tscDocs(config: BuildConfig) { |
| 8 | const result = await execa('tsc', ['-p', join('packages', 'docs', 'tsconfig.json')], { |
| 9 | stdout: 'inherit', |
| 10 | }); |
| 11 | if (result.failed) { |
| 12 | panic(`tsc for docs failed`); |
| 13 | } |
| 14 | } |