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
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["cjs"],
|
|
dts: false,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
external: ["@prisma/client"],
|
|
treeshake: false,
|
|
minify: false,
|
|
target: "node18",
|
|
platform: "node",
|
|
bundle: true,
|
|
});
|