diff --git a/packages/builders/tsup.config.ts b/packages/builders/tsup.config.ts index c4b0515f4..95225fe1e 100644 --- a/packages/builders/tsup.config.ts +++ b/packages/builders/tsup.config.ts @@ -6,6 +6,7 @@ export const tsup: Options = { entryPoints: ['src/index.ts'], format: ['esm', 'cjs'], minify: true, + keepNames: true, skipNodeModulesBundle: true, sourcemap: true, target: 'es2021', diff --git a/packages/rest/tsup.config.ts b/packages/rest/tsup.config.ts index e5b739ee6..d8ae5bb9a 100644 --- a/packages/rest/tsup.config.ts +++ b/packages/rest/tsup.config.ts @@ -6,6 +6,7 @@ export const tsup: Options = { entryPoints: ['src/index.ts'], format: ['esm', 'cjs'], minify: true, + keepNames: true, skipNodeModulesBundle: true, sourcemap: true, target: 'es2021', diff --git a/packages/voice/tsup.config.ts b/packages/voice/tsup.config.ts index 7089a5cce..e74b64848 100644 --- a/packages/voice/tsup.config.ts +++ b/packages/voice/tsup.config.ts @@ -6,6 +6,7 @@ export default defineConfig({ entryPoints: ['src/index.ts'], format: ['esm', 'cjs'], minify: true, + keepNames: true, skipNodeModulesBundle: true, sourcemap: true, target: 'es2021',