6a992a1995
* Support tasks with remote callbacks * Add common integration tsconfig * Add Replicate integration * Basic job catalog example * Integration catalog entry * Check for callbackUrl during executeTask * Fix getAll * Improve JSDoc * Bump version * Remove named queue * Simplify runTask types * Trust the types * Fail tasks on timeout * Callback timeout as param * Mess with types * performRunExecutionV1 * Update runTask docs * Shorten callback task methods * Fix run method return type * Image processing jobs * Replicate docs * Text output example * Changeset * Version bump * Roll back ugly types * Remove missing types * Quicker return when waiting on remote callback * Remote callback example * Bump version * Remove schema parsing * Only schedule positive callback timeout * Decrease callback secret length * Explicit default timeouts * Import deployments tasks * JSDoc * Deployments docs * Fix runTask examples, mention wrappers --------- Co-authored-by: Eric Allam <eric@trigger.dev>
23 lines
460 B
TypeScript
23 lines
460 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig([
|
|
{
|
|
name: "main",
|
|
entry: ["./src/index.ts"],
|
|
outDir: "./dist",
|
|
platform: "node",
|
|
format: ["cjs"],
|
|
legacyOutput: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
bundle: true,
|
|
splitting: false,
|
|
dts: true,
|
|
treeshake: {
|
|
preset: "smallest",
|
|
},
|
|
esbuildPlugins: [],
|
|
external: ["http", "https", "util", "events", "tty", "os", "timers"],
|
|
},
|
|
]);
|