async function pages_app(task, opts) {
  await task
    .source('src/pages/_app.tsx')
    .swc('client', {
      dev: opts.dev,
      interopClientDefaultExport: true,
    })
    .target('dist/pages')
}
/!(*.test).+(js|ts|tsx)')
    .swc('server', { dev: opts.dev })
    .target('dist/export')
}

// export is a reserved keyword for functions
export async function nextbuildstatic_esm(task, opts) {
  await task
    .source('src/export/*