async function next_devtools_shared(task, opts) {
  await task
    .source(
      'src/next-devtools/shared/**/!(*.test|*.stories).+(js|ts|tsx|woff2)'
    )
    .swc('client', { dev: opts.dev, interopClientDefaultExport: true })
    .target('dist/next-devtools/shared')
}
/!(*.test|*.stories).+(js|ts|tsx|woff2)'
    )
    .swc('client', { dev: opts.dev, interopClientDefaultExport: true })
    .target('dist/next-devtools/server')
}

export async function next_devtools_server_esm(task, opts) {
  await task
    .source(
      'src/next-devtools/server/*