Skip to content

Commit

Permalink
chore: tsup.config.ts 추가 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
sa02045 authored Apr 16, 2024
1 parent cd8c9b3 commit a0a4613
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"version": "1.0.7",
"license": "MIT",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest",
"changeset:publish": "changeset publish",
Expand Down
7 changes: 7 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: true,
});

0 comments on commit a0a4613

Please sign in to comment.