Skip to content

Commit

Permalink
chore(ui): tsup 번들링 entrypoint를 수정합니다. (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungwoo3490 authored Nov 28, 2024
1 parent a145a04 commit 0408ee8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-planets-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@setaday/ui": patch
---

change tsup bundling entrypoint
23 changes: 11 additions & 12 deletions packages/ui/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -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,
});
entry: ["index.ts"],
format: ["cjs", "esm"],
outDir: "dist",
clean: true,
sourcemap: true,
dts: true,
external: ["react", "react-dom"],
minify: true,
treeshake: true,
});

0 comments on commit 0408ee8

Please sign in to comment.