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:
20
apps/bot/tsup.config.ts
Normal file
20
apps/bot/tsup.config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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/db",
|
||||
"@repo/logger",
|
||||
"@repo/typescript-config",
|
||||
],
|
||||
treeshake: true,
|
||||
minify: false,
|
||||
target: "node18",
|
||||
platform: "node",
|
||||
});
|
||||
Reference in New Issue
Block a user