import { defineConfig } from 'tsup'
import { tsupBase } from '@tooling/tsup-config'

export default defineConfig(
  tsupBase({
    entry: [
      'src/index.ts',
      'src/resend.ts',
      'src/ses.ts',
      'src/postmark.ts',
      'src/brevo.ts',
      'src/capture.ts',
      'src/testing.ts',
    ],
    external: [
      'resend',
      'postmark',
      '@aws-sdk/client-sesv2',
      '@platform-modules/record-store',
    ],
  }),
)
