pub fn ecmascript_chunk_item(
module: ResolvedVc<Box<dyn EcmascriptChunkPlaceable>>,
module_graph: ResolvedVc<ModuleGraph>,
chunking_context: ResolvedVc<Box<dyn ChunkingContext>>,
) -> Vc<Box<dyn ChunkItem>>Expand description
Factory function to create an EcmascriptModuleChunkItem. Use this instead of implementing ChunkableModule::as_chunk_item() on each module.