fix(api+worker): added external deps to tsup

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-13 22:13:50 +02:00
parent c819c18962
commit 3e974cd3c4
2 changed files with 2 additions and 0 deletions

View File

@@ -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,
};

View File

@@ -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,
};