mirror of
https://github.com/balzack/databag.git
synced 2025-05-02 06:25:18 +00:00
11 lines
386 B
TypeScript
11 lines
386 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/user.ts", "src/admin.ts", "src/account", "src/profile", "src/contact", "src/group", "src/attribute", "src/channel"],
|
|
format: ["cjs", "esm"], // Build for commonJS and ESmodules
|
|
dts: true, // Generate declaration file (.d.ts)
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
});
|