@@ -4,8 +4,11 @@ pub mod source_map;
4
4
use std:: fmt:: Write ;
5
5
6
6
use anyhow:: { Result , bail} ;
7
+ use swc_core:: common:: pass:: Either ;
7
8
use turbo_rcstr:: { RcStr , rcstr} ;
8
- use turbo_tasks:: { FxIndexSet , ResolvedVc , TryJoinIterExt , ValueDefault , ValueToString , Vc } ;
9
+ use turbo_tasks:: {
10
+ FxIndexSet , ResolvedVc , TryFlatJoinIterExt , TryJoinIterExt , ValueDefault , ValueToString , Vc ,
11
+ } ;
9
12
use turbo_tasks_fs:: {
10
13
File , FileSystem , FileSystemPath ,
11
14
rope:: { Rope , RopeBuilder } ,
@@ -32,7 +35,7 @@ use turbopack_core::{
32
35
source_map:: { GenerateSourceMap , OptionStringifiedSourceMap , utils:: fileify_source_map} ,
33
36
} ;
34
37
35
- use self :: source_map:: CssChunkSourceMapAsset ;
38
+ use self :: { single_item_chunk :: chunk :: SingleItemCssChunk , source_map:: CssChunkSourceMapAsset } ;
36
39
use crate :: { ImportAssetReference , util:: stringify_js} ;
37
40
38
41
#[ turbo_tasks:: value]
@@ -313,7 +316,7 @@ impl OutputChunk for CssChunk {
313
316
} ;
314
317
Ok ( OutputChunkRuntimeInfo {
315
318
included_ids : Some ( ResolvedVc :: cell ( included_ids) ) ,
316
- module_chunks : None ,
319
+ module_chunks : Some ( ResolvedVc :: cell ( module_chunks ) ) ,
317
320
..Default :: default ( )
318
321
}
319
322
. cell ( ) )
0 commit comments