import { EnhancedModuleGraph } from './EnhancedModuleGraph' ; export default function filterToChunkGroup ( modules , chunkGroupName , graph ) { return modules . filter ( m => graph . hasModule ( m , chunkGroupName ) ) ; }