diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options.zig | 41 |
1 files changed, 13 insertions, 28 deletions
diff --git a/src/options.zig b/src/options.zig index f6b955a47..4f64f60c6 100644 --- a/src/options.zig +++ b/src/options.zig @@ -594,37 +594,22 @@ pub const Target = enum { array.set(Target.node, &[_]string{ "node", - "module", }); - - var listc = [_]string{ + array.set(Target.browser, &[_]string{ "browser", "module", - }; - array.set(Target.browser, &listc); - array.set( - Target.bun, - &[_]string{ - "bun", - "worker", - "module", - "node", - "default", - "browser", - }, - ); - array.set( - Target.bun_macro, - &[_]string{ - "macro", - "bun", - "worker", - "module", - "node", - "default", - "browser", - }, - ); + }); + array.set(Target.bun, &[_]string{ + "bun", + "worker", + "node", + }); + array.set(Target.bun_macro, &[_]string{ + "macro", + "bun", + "worker", + "node", + }); break :brk array; }; |