fix async await client, react components

This commit is contained in:
peintnermax
2023-07-27 15:54:34 +02:00
parent 0471307564
commit f69d922bc1
15 changed files with 257 additions and 171 deletions

View File

@@ -0,0 +1,13 @@
import { defineConfig, Options } from "tsup";
export default defineConfig((options: Options) => ({
treeshake: true,
splitting: true,
publicDir: true,
entry: ["src/index.ts", "src/**/index.ts"],
format: ["esm", "cjs"],
dts: true,
minify: true,
clean: true,
...options,
}));