From 0408ee8e4d8696e35a20fd17e18e829717e3563f Mon Sep 17 00:00:00 2001 From: Jungwoo LEE Date: Fri, 29 Nov 2024 00:41:39 +0900 Subject: [PATCH] =?UTF-8?q?chore(ui):=20tsup=20=EB=B2=88=EB=93=A4=EB=A7=81?= =?UTF-8?q?=20entrypoint=EB=A5=BC=20=EC=88=98=EC=A0=95=ED=95=A9=EB=8B=88?= =?UTF-8?q?=EB=8B=A4.=20(#76)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/shiny-planets-rest.md | 5 +++++ packages/ui/tsup.config.ts | 23 +++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 .changeset/shiny-planets-rest.md diff --git a/.changeset/shiny-planets-rest.md b/.changeset/shiny-planets-rest.md new file mode 100644 index 0000000..047ec73 --- /dev/null +++ b/.changeset/shiny-planets-rest.md @@ -0,0 +1,5 @@ +--- +"@setaday/ui": patch +--- + +change tsup bundling entrypoint diff --git a/packages/ui/tsup.config.ts b/packages/ui/tsup.config.ts index 65c216c..f299e92 100644 --- a/packages/ui/tsup.config.ts +++ b/packages/ui/tsup.config.ts @@ -1,14 +1,13 @@ -import { defineConfig } from 'tsup'; - +import { defineConfig } from "tsup"; export default defineConfig({ - entry: ['src/index.ts'], - format: ['cjs', 'esm'], - outDir: 'dist', - clean: true, - sourcemap: true, - dts: true, - external: ['react', 'react-dom'], - minify: true, - treeshake: true, -}); \ No newline at end of file + entry: ["index.ts"], + format: ["cjs", "esm"], + outDir: "dist", + clean: true, + sourcemap: true, + dts: true, + external: ["react", "react-dom"], + minify: true, + treeshake: true, +});