-
-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathtsup.config.ts
More file actions
27 lines (25 loc) · 688 Bytes
/
tsup.config.ts
File metadata and controls
27 lines (25 loc) · 688 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
import { defineConfig } from "tsup";
const external = [
"react",
"react-native",
"react-native-keyboard-controller",
"react-native-reanimated",
"@legendapp/list",
"@legendapp/list/animated",
"@legendapp/list/reanimated",
];
export default defineConfig({
clean: true,
dts: true,
entry: {
animated: "src/integrations/animated.tsx",
index: "src/index.ts",
keyboard: "src/integrations/keyboard.tsx",
"keyboard-controller": "src/integrations/keyboard-controller.tsx",
reanimated: "src/integrations/reanimated.tsx",
},
external,
format: ["cjs", "esm"],
splitting: false,
treeshake: true,
});