diff options
author | 2023-05-09 20:38:15 -0700 | |
---|---|---|
committer | 2023-05-09 20:38:26 -0700 | |
commit | 4346f6afc0ea16a8f3e4a5787434f1a745b76bfc (patch) | |
tree | 6a0fd5ab43036d55801e4513791a24656b94af47 | |
parent | 38e72a528d36dd679eac9a7e95584764a7728306 (diff) | |
download | bun-4346f6afc0ea16a8f3e4a5787434f1a745b76bfc.tar.gz bun-4346f6afc0ea16a8f3e4a5787434f1a745b76bfc.tar.zst bun-4346f6afc0ea16a8f3e4a5787434f1a745b76bfc.zip |
RSC
-rw-r--r-- | src/bundler/bundle_v2.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig index b5a1798b1..cc450bab6 100644 --- a/src/bundler/bundle_v2.zig +++ b/src/bundler/bundle_v2.zig @@ -1559,6 +1559,7 @@ pub const BundleV2 = struct { ); bundler.options.jsx = config.jsx; + bundler.options.react_server_components = config.server_components.client.items.len > 0 or config.server_components.server.items.len > 0; bundler.options.loaders = try options.loadersFromTransformOptions(allocator, config.loaders, config.target); bundler.options.entry_naming = config.names.entry_point.data; bundler.options.chunk_naming = config.names.chunk.data; |