forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsdown.config.ts
More file actions
45 lines (43 loc) · 801 Bytes
/
tsdown.config.ts
File metadata and controls
45 lines (43 loc) · 801 Bytes
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 "tsdown";
const env = {
NODE_ENV: "production",
};
export default defineConfig([
{
entry: "src/index.ts",
env,
fixedExtension: false,
platform: "node",
},
{
entry: "src/entry.ts",
env,
fixedExtension: false,
platform: "node",
},
{
entry: "src/infra/warning-filter.ts",
env,
fixedExtension: false,
platform: "node",
},
{
entry: "src/plugin-sdk/index.ts",
outDir: "dist/plugin-sdk",
env,
fixedExtension: false,
platform: "node",
},
{
entry: "src/extensionAPI.ts",
env,
fixedExtension: false,
platform: "node",
},
{
entry: ["src/hooks/bundled/*/handler.ts", "src/hooks/llm-slug-generator.ts"],
env,
fixedExtension: false,
platform: "node",
},
]);