2026-07-07 16:31:34 -04:00
|
|
|
import { defineConfig } from "tsup";
|
|
|
|
|
|
2026-07-07 23:53:44 -04:00
|
|
|
const bundledDatabaseExternals = ["yaml"] as const;
|
|
|
|
|
|
2026-07-07 16:31:34 -04:00
|
|
|
export default defineConfig({
|
|
|
|
|
entry: ["src/index.ts"],
|
|
|
|
|
format: ["esm"],
|
|
|
|
|
dts: true,
|
|
|
|
|
noExternal: [/^@tasks\//],
|
2026-07-07 23:53:44 -04:00
|
|
|
external: [...bundledDatabaseExternals],
|
2026-07-07 16:31:34 -04:00
|
|
|
target: "node20",
|
|
|
|
|
platform: "node",
|
|
|
|
|
clean: true,
|
|
|
|
|
});
|