fp/services/our/tsup.config.ts
CJ_Clippy 5d7920aa4e
Some checks failed
ci / build (push) Failing after 1s
ci / Tests & Checks (push) Failing after 2s
use tsx
2025-06-15 10:09:59 -08:00

16 lines
425 B
TypeScript

// 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',
});