forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsdown.config.ts
More file actions
35 lines (34 loc) · 799 Bytes
/
Copy pathtsdown.config.ts
File metadata and controls
35 lines (34 loc) · 799 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
import { defineConfig } from "tsdown";
export default defineConfig({
entry: [
"src/index.ts",
"src/components/index.ts",
"src/polyfills.ts",
"src/polyfills/streams.ts",
"src/polyfills/encoding.ts",
"src/polyfills/crypto.ts",
"src/polyfills/dom.ts",
"src/polyfills/location.ts",
],
format: ["esm", "cjs"],
dts: true,
sourcemap: true,
target: "es2022",
outDir: "dist",
external: [
"react",
"react-native",
"@ag-ui/client",
"@copilotkit/react-core",
"@copilotkit/core",
"@copilotkit/shared",
"@ag-ui/client",
"@gorhom/bottom-sheet",
"react-native-streamdown",
"react-native-gesture-handler",
"react-native-reanimated",
"react-native-enriched-markdown",
"react-native-worklets",
"remend",
],
});