1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore pkg and demo

This commit is contained in:
songjunxi
2023-10-22 10:52:46 +08:00
commit bccff40c0d
59 changed files with 12213 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { defineConfig, Options } from "tsup";
export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
banner: {
js: "'use client'",
},
format: ["cjs", "esm"],
dts: true,
clean: true,
external: ["react"],
injectStyle: true,
...options,
}));