tsdown.config.ts 339 B

123456789101112131415
  1. import { defineConfig } from 'tsdown'
  2. /** Build the package root and invariant companion as independent bundles. */
  3. export default defineConfig([
  4. {
  5. entry: ['lib/types/index.js'],
  6. outDir: 'lib',
  7. format: ['esm'],
  8. platform: 'node',
  9. target: 'es2024',
  10. fixedExtension: false,
  11. dts: false,
  12. clean: false,
  13. },
  14. ])