refactor: migrate to tsup for builds and update tsconfigs fix: update error handling and validation in payment service chore: update package scripts and dependencies docs: update README and env examples
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["cjs", "esm"],
|
|
dts: false,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
external: ["@repo/db", "@repo/exceptions"],
|
|
treeshake: true,
|
|
minify: false,
|
|
target: "es2022",
|
|
});
|