@@ -993,6 +993,7 @@ pub struct ServerChunkingContextOptions {
993993 pub turbo_source_maps : Vc < bool > ,
994994 pub no_mangling : Vc < bool > ,
995995 pub scope_hoisting : Vc < bool > ,
996+ pub debug_ids : Vc < bool > ,
996997}
997998
998999#[ turbo_tasks:: function]
@@ -1013,6 +1014,7 @@ pub async fn get_server_chunking_context_with_client_assets(
10131014 turbo_source_maps,
10141015 no_mangling,
10151016 scope_hoisting,
1017+ debug_ids,
10161018 } = options;
10171019
10181020 let next_mode = mode. await ?;
@@ -1045,7 +1047,8 @@ pub async fn get_server_chunking_context_with_client_assets(
10451047 } )
10461048 . module_id_strategy ( module_id_strategy. to_resolved ( ) . await ?)
10471049 . export_usage ( * export_usage. await ?)
1048- . file_tracing ( next_mode. is_production ( ) ) ;
1050+ . file_tracing ( next_mode. is_production ( ) )
1051+ . debug_ids ( * debug_ids. await ?) ;
10491052
10501053 if next_mode. is_development ( ) {
10511054 builder = builder. use_file_source_map_uris ( ) ;
@@ -1089,6 +1092,7 @@ pub async fn get_server_chunking_context(
10891092 turbo_source_maps,
10901093 no_mangling,
10911094 scope_hoisting,
1095+ debug_ids,
10921096 } = options;
10931097 let next_mode = mode. await ?;
10941098 // TODO(alexkirsz) This should return a trait that can be implemented by the
@@ -1118,7 +1122,8 @@ pub async fn get_server_chunking_context(
11181122 } )
11191123 . module_id_strategy ( module_id_strategy. to_resolved ( ) . await ?)
11201124 . export_usage ( * export_usage. await ?)
1121- . file_tracing ( next_mode. is_production ( ) ) ;
1125+ . file_tracing ( next_mode. is_production ( ) )
1126+ . debug_ids ( * debug_ids. await ?) ;
11221127
11231128 if next_mode. is_development ( ) {
11241129 builder = builder. use_file_source_map_uris ( )
0 commit comments