Skip to content

Commit cd9539c

Browse files
committed
leave a note
1 parent 73797f3 commit cd9539c

File tree

1 file changed

+2
-0
lines changed
  • turbopack/crates/turbopack-core/src/chunk/chunking

1 file changed

+2
-0
lines changed

turbopack/crates/turbopack-core/src/chunk/chunking/dev.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ pub async fn app_vendors_split<'l>(
8686
let mut chunk_group_specific_chunk_items = Vec::new();
8787
let mut app_chunk_items = Vec::new();
8888
let mut vendors_chunk_items = Vec::new();
89+
// TODO this needs to create new chunk groups for each async entry point to preserver `import()`
90+
// semantics, even if it leads to more chunks.
8991
for item in chunk_items {
9092
let ChunkItemOrBatchWithInfo::ChunkItem {
9193
chunk_item: ChunkItemWithAsyncModuleInfo { module, .. },

0 commit comments

Comments
 (0)