2024-10-04 19:35:44 +00:00
|
|
|
import { defineConfig } from "tsup";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
entry: ["src/index.ts"],
|
|
|
|
splitting: false,
|
2024-10-04 21:21:37 +00:00
|
|
|
sourcemap: true,
|
2024-10-04 19:35:44 +00:00
|
|
|
clean: true,
|
2024-10-08 14:32:02 +00:00
|
|
|
dts: true, // Generates type declarations
|
|
|
|
format: ["esm"], // Ensures output is in ESM format
|
2024-10-04 19:35:44 +00:00
|
|
|
});
|