-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsup.config.ts
45 lines (41 loc) · 964 Bytes
/
tsup.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
outDir: "dist",
sourcemap: true,
clean: true,
format: ["esm"],
external: [
// Core dependencies
"@elizaos/core",
// Lit Protocol dependencies
"@lit-protocol/lit-node-client",
"@lit-protocol/contracts-sdk",
"@lit-protocol/lit-auth-client",
"@lit-protocol/pkp-ethers",
// Built-in Node.js modules
"dotenv",
"fs",
"path",
"https",
"http",
"events",
// Third-party dependencies
"@reflink/reflink",
"@node-llama-cpp",
"agentkeepalive",
"viem",
"@lifi/sdk",
"node-cache",
"zod"
],
dts: {
resolve: true,
entry: {
index: "src/index.ts"
}
},
treeshake: true,
splitting: false,
bundle: true
});