getChunkModulesSizes(chunk) {
		const cgc = this._getChunkGraphChunk(chunk);
		return cgc.modules.getFromUnorderedCache(getModulesSizes);
	}
@param {Chunk} chunk the chunk
@returns {Record<string, number>} total sizes of all modules in the chunk by source type