import { ModuleGraphNode } from '../../types/BundleData' ; import { ChunkGroupDiff } from '../../types/DiffResults' ; export default function handleChangedModule ( moduleName , baselineModule , comparisonModule , chunkGroupDiff ) { const delta = comparisonModule . size - baselineModule . size ; if ( delta ) { chunkGroupDiff . changed . push ( { module : moduleName , delta , } ) ; } }