(config: BuildConfig)
| 5 | const PACKAGE = 'qwik-labs'; |
| 6 | |
| 7 | export async function buildQwikLabs(config: BuildConfig) { |
| 8 | const input = join(config.packagesDir, PACKAGE); |
| 9 | |
| 10 | const result = await execa('pnpm', ['build'], { |
| 11 | stdout: 'inherit', |
| 12 | cwd: input, |
| 13 | }); |
| 14 | |
| 15 | if (result.failed) { |
| 16 | panic(`tsc failed`); |
| 17 | } |
| 18 | console.log(`⚛️ ${PACKAGE}`); |
| 19 | } |