async function shared_re_exported_esm(task, opts) {
  await task
    .source(
      'src/shared/**/{amp,config,constants,app-dynamic,dynamic,head}.+(js|ts|tsx)',
      {
        ignore: ['**/*.test.d.ts', '**/*.test.+(js|ts|tsx)'],
      }
    )
    .swc('client', {
      dev: opts.dev,
      esm: true,
    })
    .target('dist/esm/shared')
}
/{amp,config,constants,dynamic,app-dynamic,head,runtime-config}.+(js|ts|tsx)',
      {
        ignore: ['*