@@ -437,7 +437,7 @@ impl CodeSplitter {
437
437
entrypoint. set_runtime_chunk ( chunk. ukey ( ) ) ;
438
438
}
439
439
440
- entrypoint. set_entry_point_chunk ( chunk. ukey ( ) ) ;
440
+ entrypoint. set_entrypoint_chunk ( chunk. ukey ( ) ) ;
441
441
entrypoint. connect_chunk ( chunk) ;
442
442
443
443
compilation
@@ -529,7 +529,7 @@ Remove the 'runtime' option from the entrypoint."
529
529
compilation
530
530
. chunk_group_by_ukey
531
531
. expect_get ( key)
532
- . get_entry_point_chunk ( )
532
+ . get_entrypoint_chunk ( )
533
533
. as_u32 ( )
534
534
} ) ) ,
535
535
) ;
@@ -550,7 +550,7 @@ Remove the 'runtime' option from the entrypoint."
550
550
let entry_point = compilation. chunk_group_by_ukey . expect_get ( ukey) ;
551
551
let entry_point_chunk = compilation
552
552
. chunk_by_ukey
553
- . expect_get ( & entry_point. get_entry_point_chunk ( ) ) ;
553
+ . expect_get ( & entry_point. get_entrypoint_chunk ( ) ) ;
554
554
let referenced_chunks =
555
555
entry_point_chunk. get_all_referenced_chunks ( & compilation. chunk_group_by_ukey ) ;
556
556
@@ -559,13 +559,13 @@ Remove the 'runtime' option from the entrypoint."
559
559
let dependency_chunk_ukey = compilation
560
560
. chunk_group_by_ukey
561
561
. expect_get ( dependency_ukey)
562
- . get_entry_point_chunk ( ) ;
562
+ . get_entrypoint_chunk ( ) ;
563
563
if referenced_chunks. contains ( & dependency_chunk_ukey) {
564
564
runtime_errors. push ( Diagnostic :: from (
565
565
error ! (
566
566
"Entrypoints '{name}' and '{dep}' use 'dependOn' to depend on each other in a circular way."
567
567
) ,
568
- ) . with_chunk ( Some ( entry_point. get_entry_point_chunk ( ) . as_u32 ( ) ) ) ) ;
568
+ ) . with_chunk ( Some ( entry_point. get_entrypoint_chunk ( ) . as_u32 ( ) ) ) ) ;
569
569
entry_point_runtime = Some ( entry_point_chunk. ukey ( ) ) ;
570
570
has_error = true ;
571
571
break ;
@@ -605,7 +605,7 @@ Remove the 'runtime' option from the entrypoint."
605
605
let chunk = match compilation. named_chunks . get ( runtime) {
606
606
Some ( ukey) => {
607
607
if !self . runtime_chunks . contains ( ukey) {
608
- let entry_chunk = entry_point. get_entry_point_chunk ( ) ;
608
+ let entry_chunk = entry_point. get_entrypoint_chunk ( ) ;
609
609
runtime_errors. push ( Diagnostic :: from (
610
610
error ! (
611
611
"Entrypoint '{name}' has a 'runtime' option which points to another entrypoint named '{runtime}'.
@@ -707,7 +707,7 @@ Or do you want to use the entrypoints '{name}' and '{runtime}' independently on
707
707
self . chunk_groups_for_combining . insert ( * cgi) ;
708
708
} else {
709
709
// The application may start here: We start with an empty list of available modules
710
- let chunk = chunk_group. get_entry_point_chunk ( ) ;
710
+ let chunk = chunk_group. get_entrypoint_chunk ( ) ;
711
711
for module in modules {
712
712
self
713
713
. queue
@@ -847,7 +847,7 @@ Or do you want to use the entrypoints '{name}' and '{runtime}' independently on
847
847
848
848
Some ( root_modules)
849
849
} else if chunk_group. kind . is_entrypoint ( ) && chunk_group. is_initial ( ) {
850
- let entry_chunk_ukey = chunk_group. get_entry_point_chunk ( ) ;
850
+ let entry_chunk_ukey = chunk_group. get_entrypoint_chunk ( ) ;
851
851
let entry_modules = compilation
852
852
. chunk_graph
853
853
. get_chunk_entry_modules ( & entry_chunk_ukey) ;
@@ -1395,7 +1395,7 @@ Or do you want to use the entrypoints '{name}' and '{runtime}' independently on
1395
1395
self . chunk_group_infos . entry ( ukey) . or_insert ( cgi) ;
1396
1396
1397
1397
entrypoint. set_runtime_chunk ( chunk. ukey ( ) ) ;
1398
- entrypoint. set_entry_point_chunk ( chunk. ukey ( ) ) ;
1398
+ entrypoint. set_entrypoint_chunk ( chunk. ukey ( ) ) ;
1399
1399
compilation. async_entrypoints . push ( entrypoint. ukey ) ;
1400
1400
self . next_chunk_group_index += 1 ;
1401
1401
entrypoint. index = Some ( self . next_chunk_group_index ) ;
0 commit comments