diff options
Diffstat (limited to '')
-rw-r--r-- | src/http.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http.zig b/src/http.zig index 0baa3b3b5..434207485 100644 --- a/src/http.zig +++ b/src/http.zig @@ -205,6 +205,7 @@ pub const RequestContext = struct { .loader = .js, .macro_remappings = .{}, .dirname_fd = 0, + .jsx = bundler_.options.jsx, }; if (bundler_.parse( @@ -764,6 +765,8 @@ pub const RequestContext = struct { .file_descriptor = fd, .file_hash = id, .macro_remappings = macro_remappings, + // TODO: make this work correctly when multiple tsconfigs define different JSX pragmas + .jsx = this.bundler.options.jsx, }, null, ) orelse { |