Home / File/ tsup.config.ts — ui Source File

tsup.config.ts — ui Source File

Architecture documentation for tsup.config.ts, a typescript file in the ui codebase. 2 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  c9b641ff_84dc_0367_36e6_a80fa0c11268["tsup.config.ts"]
  eac8f98f_e40a_7fe8_f505_372c83d20c7a["fs"]
  c9b641ff_84dc_0367_36e6_a80fa0c11268 --> eac8f98f_e40a_7fe8_f505_372c83d20c7a
  d2764481_0d3a_ae5c_8a5f_602bb92bf346["tsup"]
  c9b641ff_84dc_0367_36e6_a80fa0c11268 --> d2764481_0d3a_ae5c_8a5f_602bb92bf346
  style c9b641ff_84dc_0367_36e6_a80fa0c11268 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { copyFileSync } from "fs"
import { defineConfig } from "tsup"

export default defineConfig({
  clean: true,
  dts: true,
  entry: [
    "src/index.ts",
    "src/registry/index.ts",
    "src/schema/index.ts",
    "src/mcp/index.ts",
    "src/utils/index.ts",
    "src/icons/index.ts",
  ],
  format: ["esm"],
  sourcemap: true,
  minify: true,
  target: "esnext",
  outDir: "dist",
  treeshake: true,
  onSuccess: async () => {
    copyFileSync("src/tailwind.css", "dist/tailwind.css")
  },
})

Subdomains

Dependencies

  • fs
  • tsup

Frequently Asked Questions

What does tsup.config.ts do?
tsup.config.ts is a source file in the ui codebase, written in typescript. It belongs to the FrameworkTooling domain, SchemaValidation subdomain.
What functions are defined in tsup.config.ts?
tsup.config.ts defines 1 function(s): default.onSuccess.
What does tsup.config.ts depend on?
tsup.config.ts imports 2 module(s): fs, tsup.
Where is tsup.config.ts in the architecture?
tsup.config.ts is located at packages/shadcn/tsup.config.ts (domain: FrameworkTooling, subdomain: SchemaValidation, directory: packages/shadcn).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free