@@ -4,8 +4,11 @@ pub mod source_map;
44use std:: fmt:: Write ;
55
66use anyhow:: { Result , bail} ;
7+ use swc_core:: common:: pass:: Either ;
78use 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+ } ;
912use turbo_tasks_fs:: {
1013 File , FileSystem , FileSystemPath ,
1114 rope:: { Rope , RopeBuilder } ,
@@ -32,7 +35,7 @@ use turbopack_core::{
3235 source_map:: { GenerateSourceMap , OptionStringifiedSourceMap , utils:: fileify_source_map} ,
3336} ;
3437
35- use self :: source_map:: CssChunkSourceMapAsset ;
38+ use self :: { single_item_chunk :: chunk :: SingleItemCssChunk , source_map:: CssChunkSourceMapAsset } ;
3639use crate :: { ImportAssetReference , util:: stringify_js} ;
3740
3841#[ turbo_tasks:: value]
@@ -313,7 +316,7 @@ impl OutputChunk for CssChunk {
313316 } ;
314317 Ok ( OutputChunkRuntimeInfo {
315318 included_ids : Some ( ResolvedVc :: cell ( included_ids) ) ,
316- module_chunks : None ,
319+ module_chunks : Some ( ResolvedVc :: cell ( module_chunks ) ) ,
317320 ..Default :: default ( )
318321 }
319322 . cell ( ) )
0 commit comments