(opts)
| 26 | * @returns {import('tsup').Options} |
| 27 | */ |
| 28 | export function legacyConfig(opts) { |
| 29 | return { |
| 30 | entry: opts.entry, |
| 31 | format: ['cjs', 'esm'], |
| 32 | target: ['es2020', 'node16'], |
| 33 | outDir: 'build/legacy', |
| 34 | experimentalDts: true, |
| 35 | sourcemap: true, |
| 36 | clean: true, |
| 37 | esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], |
| 38 | } |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected