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

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