async function diagnostics(task, opts) {
  await task
    .source('src/diagnostics/**/*.+(js|ts|tsx)')
    .swc('server', { dev: opts.dev })
    .target('dist/diagnostics')
}
/*.+(js|ts|tsx)')
    .swc('server', { dev: opts.dev })
    .target('dist/telemetry')
}

export async function trace(task, opts) {
  await task
    .source('src/trace/*