From 3e974cd3c41a6b6603ba3347d5a22abd507178c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Fri, 13 Sep 2024 22:13:50 +0200 Subject: [PATCH] fix(api+worker): added external deps to tsup --- apps/api/tsup.config.ts | 1 + apps/worker/tsup.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/api/tsup.config.ts b/apps/api/tsup.config.ts index 12e0eb1b..dd028707 100644 --- a/apps/api/tsup.config.ts +++ b/apps/api/tsup.config.ts @@ -5,6 +5,7 @@ const options: Options = { clean: true, entry: ['src/index.ts'], noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u], + external: ['@hyperdx/node-opentelemetry', 'winston'], sourcemap: true, splitting: false, }; diff --git a/apps/worker/tsup.config.ts b/apps/worker/tsup.config.ts index 995a74bd..34f14180 100644 --- a/apps/worker/tsup.config.ts +++ b/apps/worker/tsup.config.ts @@ -5,6 +5,7 @@ const options: Options = { clean: true, entry: ['src/index.ts'], noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u], + external: ['@hyperdx/node-opentelemetry', 'winston'], sourcemap: true, splitting: false, };