forked from sebastian-software/python2ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsup.config.ts
More file actions
40 lines (39 loc) · 863 Bytes
/
tsup.config.ts
File metadata and controls
40 lines (39 loc) · 863 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
import { defineConfig } from "tsup"
export default defineConfig({
entry: [
"src/index.ts",
"src/index.browser.ts",
"src/collections.ts",
"src/itertools.ts",
"src/functools.ts",
"src/math.ts",
"src/random.ts",
"src/datetime.ts",
"src/re.ts",
"src/json.ts",
"src/os.browser.ts",
"src/os.node.ts",
"src/string.ts",
"src/sys.ts",
"src/time.ts",
"src/copy.ts",
"src/base64.ts",
"src/uuid.ts",
"src/hashlib.ts",
"src/pathlib.browser.ts",
"src/pathlib.node.ts",
"src/glob.browser.ts",
"src/glob.node.ts",
"src/shutil.browser.ts",
"src/shutil.node.ts",
"src/tempfile.browser.ts",
"src/tempfile.node.ts",
"src/subprocess.ts",
"src/urllib.ts",
"src/logging.browser.ts",
"src/logging.node.ts"
],
format: ["esm"],
dts: true,
clean: true
})