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
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm"],
|
|
dts: false,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
external: ["@repo/config", "@repo/logger", "@repo/typescript-config"],
|
|
treeshake: true,
|
|
minify: false,
|
|
target: "node18",
|
|
platform: "node",
|
|
});
|