-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbunfig.toml
More file actions
73 lines (55 loc) · 1.11 KB
/
bunfig.toml
File metadata and controls
73 lines (55 loc) · 1.11 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# bunfig.toml - Bun configuration file
# https://bun.sh/docs/runtime/bunfig
[install]
# Save exact versions instead of semver ranges
# exact = true
# Set default registry
registry = "https://registry.npmjs.org/"
# Set node_modules folder
node_modules = "node_modules"
# Cache directory
cache = "node_modules/.cache/bun"
[test]
# Test runner configuration
# Coverage reporting
# coverage = true
# Run tests in parallel
# parallel = true
# Watch mode
# watch = true
[dev]
# Development server configuration
# Port for dev server
port = 3000
# Host for dev server
host = "localhost"
# Auto-reload on file changes
hot = true
[build]
# Build output directory
outdir = "dist"
# Minification
minify = true
# Source maps
sourcemap = true
# Target environment
target = "node"
[package]
# Package.json field order
fields = ["name", "version", "description"]
[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 = "development"
}