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