attachModules(chunk, modules) {
		const cgc = this._getChunkGraphChunk(chunk);
		for (const module of modules) {
			cgc.modules.add(module);
		}
	}
@param {Chunk} chunk the chunk
@param {Iterable<Module>} modules the modules
@returns {void}