import Chunk from 'webpack/lib/Chunk'; import ChunkGraph from 'webpack/lib/ChunkGraph'; import Module from 'webpack/lib/Module'; import ModuleGraph from 'webpack/lib/ModuleGraph'; /** * Builds a list with ids of all affected modules in the following way: * - affected directly by a file change * - affected indirectly by a change of it's dependencies and so on * * @param chunks Set * @param modules Set * @return {Array.} */ export default function getAffectedModuleIds(chunks: Set, chunkGraph: ChunkGraph, modules: Set, moduleGraph: ModuleGraph, webpackBuiltModules?: WeakSet): Array;