Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

387 B
Raw Blame
import type { UserConfig } from 'tsdown'

const sdkTsdownConfig = {
  entry: { index: './src/index.ts' },
  target: 'es2017',
  format: ['esm', 'cjs'],
  fixedExtension: false,
  sourcemap: true,
  dts: true,
  clean: true,
} satisfies UserConfig

export function createSdkTsdownConfig(overrides: UserConfig = {}): UserConfig {
  return {
    ...sdkTsdownConfig,
    ...overrides,
  }
}