add tsup config

This commit is contained in:
Antoine Kingue 2024-03-02 16:00:19 +01:00
parent 61a118e9a5
commit 0742241aa0

13
tsup.config.ts Normal file
View File

@ -0,0 +1,13 @@
import { defineConfig, Options } from "tsup";
const config: Options = {
entry: ["src/**/*.ts"],
splitting: true,
sourcemap: true,
clean: true,
platform: "node",
dts: true,
minify: true,
};
export default defineConfig(config);