Skip to content

Commit 57721ce

Browse files
committed
pass option along
1 parent 1c3ef86 commit 57721ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

crates/next-api/src/project.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,9 @@ impl Project {
11191119
source_maps: self.next_config().client_source_maps(self.next_mode()),
11201120
no_mangling: self.no_mangling(),
11211121
scope_hoisting: self.next_config().turbo_scope_hoisting(self.next_mode()),
1122+
nested_async_chunking: self
1123+
.next_config()
1124+
.turbo_nested_async_chunking(self.next_mode(), true),
11221125
debug_ids: self.next_config().turbopack_debug_ids(),
11231126
should_use_absolute_url_references: self.next_config().inline_css(),
11241127
}))
@@ -1141,6 +1144,9 @@ impl Project {
11411144
turbo_source_maps: self.next_config().server_source_maps(),
11421145
no_mangling: self.no_mangling(),
11431146
scope_hoisting: self.next_config().turbo_scope_hoisting(self.next_mode()),
1147+
nested_async_chunking: self
1148+
.next_config()
1149+
.turbo_nested_async_chunking(self.next_mode(), false),
11441150
debug_ids: self.next_config().turbopack_debug_ids(),
11451151
client_root: self.client_relative_path().owned().await?,
11461152
asset_prefix: self.next_config().computed_asset_prefix().owned().await?,
@@ -1169,6 +1175,9 @@ impl Project {
11691175
turbo_source_maps: self.next_config().server_source_maps(),
11701176
no_mangling: self.no_mangling(),
11711177
scope_hoisting: self.next_config().turbo_scope_hoisting(self.next_mode()),
1178+
nested_async_chunking: self
1179+
.next_config()
1180+
.turbo_nested_async_chunking(self.next_mode(), false),
11721181
client_root: self.client_relative_path().owned().await?,
11731182
asset_prefix: self.next_config().computed_asset_prefix().owned().await?,
11741183
};

0 commit comments

Comments
 (0)