import { defineConfig } from 'tsdown';

export default defineConfig([
  {
    entry: [
      './src/index.ts',
      './src/commands/index.ts',
      './src/components/index.ts',
      './src/pages/index.ts',
      './src/common/index.ts',
      './src/jsx/index.ts',
    ],
    platform: 'node',
    dts: true,
    external: ['bun', 'bun:sqlite'],
  },
]);
