Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

maybe tsup clean false?

Steven Tey1d8c00f2ad0d
diff --git a/packages/ui/tsup.config.ts b/packages/ui/tsup.config.ts
index 6a8a1e5cb0..2922953825 100644
--- a/packages/ui/tsup.config.ts
+++ b/packages/ui/tsup.config.ts
@@ -10,6 +10,7 @@ export default defineConfig((options: Options) => ({
},
dts: true,
minify: true,
+ clean: false,
external: ["react"],
...options,
}));
diff --git a/packages/utils/tsup.config.ts b/packages/utils/tsup.config.ts
index 7a44221ff9..0770ae8eff 100644
--- a/packages/utils/tsup.config.ts
+++ b/packages/utils/tsup.config.ts
@@ -5,6 +5,7 @@ export default defineConfig((options: Options) => ({
format: ["esm"],
dts: true,
minify: true,
+ clean: false,
external: ["react"],
...options,
}));