Skip to content

Commit 0d23e9d

Browse files
committed
chore: use tsup config in ts
1 parent 0c06356 commit 0d23e9d

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

tsup.config.json

-9
This file was deleted.

tsup.config.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { Options } from "tsup";
2+
3+
export default {
4+
target: "es2020",
5+
format: ["cjs", "esm"],
6+
outDir: "lib",
7+
splitting: false,
8+
sourcemap: true,
9+
clean: true,
10+
dts: true,
11+
} satisfies Options;

0 commit comments

Comments
 (0)