fix: update tsup build packages (#7438)

This commit is contained in:
sriram veeraghanta 2025-07-18 15:04:31 +05:30 committed by GitHub
parent 07c80bb02c
commit df4ea1f7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 81 additions and 61 deletions

View file

@ -2,8 +2,12 @@ import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
outDir: "dist",
format: ["esm", "cjs"],
dts: true,
clean: true,
minify: true,
splitting: true,
treeshake: true,
external: ["react"],
});