From 34120bba971132077d9140b588eeea7a8b4c889d Mon Sep 17 00:00:00 2001 From: D Trombett Date: Wed, 2 Feb 2022 15:20:16 +0100 Subject: [PATCH] chore: add keepNames tsup option (#7385) --- packages/builders/tsup.config.ts | 1 + packages/rest/tsup.config.ts | 1 + packages/voice/tsup.config.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/builders/tsup.config.ts b/packages/builders/tsup.config.ts index c4b0515f42b4..95225fe1e433 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 e5b739ee6a09..d8ae5bb9a0a5 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 7089a5cce5c9..e74b64848128 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',