diff options
Diffstat (limited to 'src/bunfig.zig')
-rw-r--r-- | src/bunfig.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bunfig.zig b/src/bunfig.zig index 63a6c389d..a777475da 100644 --- a/src/bunfig.zig +++ b/src/bunfig.zig @@ -216,6 +216,11 @@ pub const Bunfig = struct { if (json.get("preload")) |expr| { try this.loadPreload(allocator, expr); } + + if (json.get("telemetry")) |expr| { + try this.expect(expr, .e_boolean); + Analytics.disabled = !expr.data.e_boolean.value; + } } if (comptime cmd == .RunCommand or cmd == .AutoCommand) { |