From 3da35fab0be61ad5ca5e08be4c2854241f5fd756 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 21 Jul 2024 17:58:06 +0200 Subject: [PATCH] Create javascript tsup.config.ts --- integrations/javascript/tsup.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 integrations/javascript/tsup.config.ts diff --git a/integrations/javascript/tsup.config.ts b/integrations/javascript/tsup.config.ts new file mode 100644 index 0000000..128b15a --- /dev/null +++ b/integrations/javascript/tsup.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "tsup"; + +export default defineConfig({ + entry: ["./src/index.ts"], + format: ["cjs", "esm"], + dts: true, + splitting: false, + sourcemap: true, + clean: true, + minify: true, + external: ["node-fetch"] +}); \ No newline at end of file