This commit is contained in:
Cyanoure
2024-09-15 14:32:53 +02:00
parent d89a0fefbe
commit fca0f47fb0
3 changed files with 2210 additions and 2 deletions

10
tsup.config.ts Normal file
View File

@ -0,0 +1,10 @@
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"], // Build for commonJS and ESmodules
dts: true, // Generate declaration file (.d.ts)
splitting: false,
sourcemap: true,
clean: true,
});