snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
packages/helpers/tsup.config.ts
Normal file
16
packages/helpers/tsup.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from "tsup"
|
||||
|
||||
export default defineConfig((options) => ({
|
||||
clean: !options.watch,
|
||||
dts: true,
|
||||
entry: {
|
||||
"ai-sdk/index": "src/ai-sdk/index.ts",
|
||||
"tanstack-ai/index": "src/tanstack-ai/index.ts",
|
||||
},
|
||||
format: ["esm"],
|
||||
sourcemap: false,
|
||||
minify: true,
|
||||
target: "esnext",
|
||||
outDir: "dist",
|
||||
treeshake: true,
|
||||
}))
|
||||
Reference in New Issue
Block a user