forked from superagent-ai/grok-cli
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbunfig.toml
More file actions
43 lines (33 loc) · 690 Bytes
/
bunfig.toml
File metadata and controls
43 lines (33 loc) · 690 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
[build]
# Build output directory
outdir = "dist"
entrypoints = ["src/index.ts"]
preload = ["src/index.ts"]
import = ["src/index.ts"]
require = ["src/index.ts"]
external = ["react-devtools-core"]
Includes = ["src/**", "node_modules/**"]
format = "esm"
packages = "auto"
# Minification
#minify = true
# Source maps
sourcemap = true
# Target environment
target = "node"
[run]
# Node.js compatibility mode
compat = "node"
# Loader configuration for file types
loader = {
".css" = "css",
".js" = "jsx",
".ts" = "tsx",
".tsx" = "tsx",
".json" = "json",
".txt" = "text"
}
# Environment variables
env = {
NODE_ENV = "production"
}