fix(api+worker): added external deps to tsup
This commit is contained in:
@@ -5,6 +5,7 @@ const options: Options = {
|
|||||||
clean: true,
|
clean: true,
|
||||||
entry: ['src/index.ts'],
|
entry: ['src/index.ts'],
|
||||||
noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u],
|
noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u],
|
||||||
|
external: ['@hyperdx/node-opentelemetry', 'winston'],
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
splitting: false,
|
splitting: false,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ const options: Options = {
|
|||||||
clean: true,
|
clean: true,
|
||||||
entry: ['src/index.ts'],
|
entry: ['src/index.ts'],
|
||||||
noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u],
|
noExternal: [/^@openpanel\/.*$/u, /^@\/.*$/u],
|
||||||
|
external: ['@hyperdx/node-opentelemetry', 'winston'],
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
splitting: false,
|
splitting: false,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user