// tsup.config.ts import { defineConfig } from 'tsup'; // This is just for the worker instance, because of nuances with graphile-worker. // The server doesn't get built-- it launches using tsx. export default defineConfig({ entry: ['src/tasks/**/*.ts'], outDir: 'dist', target: 'node20', format: ['cjs'], splitting: false, shims: false, external: ['@prisma/client', '.prisma/client'], platform: 'node', });