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

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