diff options
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/api/JSBundler.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/api/JSBundler.zig b/src/bun.js/api/JSBundler.zig index 1149880fe..4bb5cad3d 100644 --- a/src/bun.js/api/JSBundler.zig +++ b/src/bun.js/api/JSBundler.zig @@ -54,7 +54,7 @@ pub const JSBundler = struct { target: options.Platform = options.Platform.browser, entry_points: bun.StringSet = bun.StringSet.init(bun.default_allocator), hot: bool = false, - define: bun.StringMap = bun.StringMap.init(bun.default_allocator), + define: bun.StringMap = bun.StringMap.init(bun.default_allocator, true), dir: OwnedString = OwnedString.initEmpty(bun.default_allocator), outdir: OwnedString = OwnedString.initEmpty(bun.default_allocator), serve: Serve = .{}, @@ -89,7 +89,7 @@ pub const JSBundler = struct { var this = Config{ .entry_points = bun.StringSet.init(allocator), .external = bun.StringSet.init(allocator), - .define = bun.StringMap.init(allocator), + .define = bun.StringMap.init(allocator, true), .dir = OwnedString.initEmpty(allocator), .label = OwnedString.initEmpty(allocator), .outdir = OwnedString.initEmpty(allocator), |