import { defineConfig } from 'tsdown';

export default defineConfig([
  {
    entry: [
      './src/**/*.ts',
      '!./src/**/*.test.ts',
    ],
    platform: 'neutral',
    dts: true,
    unbundle: true,
    external: [
      /^node:.*/,
      /^bun:.*/,
    ],
  },
]);
