From 95a9673b1ec6a1954d941d35624ad2cd93faccc4 Mon Sep 17 00:00:00 2001 From: shadcn Date: Tue, 3 Oct 2023 18:20:58 +0400 Subject: [PATCH] minify cli (#1662) * chore(shadcn-ui): minify build * chore: add changeset --- .changeset/sweet-plums-serve.md | 5 +++++ packages/cli/tsup.config.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/sweet-plums-serve.md diff --git a/.changeset/sweet-plums-serve.md b/.changeset/sweet-plums-serve.md new file mode 100644 index 00000000000..04c8d5152fb --- /dev/null +++ b/.changeset/sweet-plums-serve.md @@ -0,0 +1,5 @@ +--- +"shadcn-ui": patch +--- + +minify build diff --git a/packages/cli/tsup.config.ts b/packages/cli/tsup.config.ts index 2f8b5896aeb..5e496be82c2 100644 --- a/packages/cli/tsup.config.ts +++ b/packages/cli/tsup.config.ts @@ -6,6 +6,7 @@ export default defineConfig({ entry: ["src/index.ts"], format: ["esm"], sourcemap: true, + minify: true, target: "esnext", outDir: "dist", })