tsdown.config.ts 431 B

12345678910111213141516
  1. import { defineConfig } from 'tsdown'
  2. /**
  3. * The dsh CLI ships its command and the profile lifecycle shared with Desktop.
  4. * Declarations come from `tsc -b` (dts: false), matching every package.
  5. */
  6. export default defineConfig({
  7. entry: ['lib/types/bin.js', 'lib/types/profile-boot.js'],
  8. outDir: 'lib',
  9. format: ['esm'],
  10. platform: 'node',
  11. target: 'es2024',
  12. fixedExtension: false,
  13. dts: false,
  14. clean: ['lib/*.js'],
  15. })