feat: add file storage service and update configurations
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
This commit is contained in:
15
apps/api/tsup.config.ts
Normal file
15
apps/api/tsup.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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",
|
||||
});
|
||||
Reference in New Issue
Block a user