| 1 | import { defineConfig } from 'tsdown' |
| 2 | |
| 3 | const shared = { |
| 4 | outDir: 'lib', |
| 5 | format: ['esm'], |
| 6 | platform: 'node', |
| 7 | target: 'es2024', |
| 8 | fixedExtension: false, |
| 9 | outputOptions: { codeSplitting: false }, |
| 10 | dts: false, |
| 11 | clean: false, |
| 12 | } as const |
| 13 | |
| 14 | export default defineConfig([ |
| 15 | { ...shared, entry: ['lib/types/index.js'] }, |
| 16 | ]) |
| 17 |