import { BundleData } from '../../types/BundleData' ; import { Stats } from '../../types/Stats' ; import { deriveGraph } from './graph/deriveGraph' ; import { deriveChunkGroupData } from './deriveChunkGroupData' ; import { DataOptions } from '../../types/DataOptions' ; export function deriveBundleData ( stats , options ? ) { return { graph : deriveGraph ( stats , options ?. validate ) , chunkGroups : deriveChunkGroupData ( stats , options ) , } ; }