diff options
-rw-r--r-- | src/bunfig.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bunfig.zig b/src/bunfig.zig index 1244f52b8..7302907d9 100644 --- a/src/bunfig.zig +++ b/src/bunfig.zig @@ -201,6 +201,13 @@ pub const Bunfig = struct { } } + if (comptime cmd == .RunCommand or cmd == .AutoCommand) { + if (json.get("smol")) |expr| { + try this.expect(expr, .e_boolean); + this.ctx.runtime_options.smol = expr.data.e_boolean.value; + } + } + if (comptime cmd == .DevCommand or cmd == .AutoCommand) { if (json.get("dev")) |expr| { if (expr.get("disableBunJS")) |disable| { @@ -230,6 +237,11 @@ pub const Bunfig = struct { if (test_.get("preload")) |expr| { try this.loadPreload(allocator, expr); } + + if (test_.get("smol")) |expr| { + try this.expect(expr, .e_boolean); + this.ctx.runtime_options.smol = expr.data.e_boolean.value; + } } } |