2bedc779b9
* feature: initial work for sendgrid integration * fix: fixed the ts-error and added sendgrid integration to the job-catalogue * SendGrid added to dependencies * Made the from email an env var so it can be tested by non-Trigger.dev team members * Refactor: Modify sendEmail function to return void and remove SendEmailResponse type Co-authored-by: Matt Aitken <matt@mattaitken.com> * Create funny-kangaroos-glow.md --------- Co-authored-by: Matt Aitken <matt@mattaitken.com> Co-authored-by: Eric Allam <eallam@icloud.com>
25 lines
462 B
TypeScript
25 lines
462 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"],
|
|
},
|
|
]);
|
|
|