fp/services/our/tsup.config.ts
CJ_Clippy c386e48dcf
Some checks failed
ci / build (push) Failing after 1s
ci / Tests & Checks (push) Failing after 1s
add buttplug vjs plugin
2025-07-13 01:04:45 -08:00

18 lines
453 B
TypeScript

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