WXL
4 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/webpack/lib/javascript/StartupHelpers.js
@@ -25,6 +25,7 @@
/** @typedef {ModuleId[]} ModuleIds */
/**
 * Returns runtime code.
 * @param {ChunkGraph} chunkGraph chunkGraph
 * @param {RuntimeTemplate} runtimeTemplate runtimeTemplate
 * @param {EntryModuleWithChunkGroup[]} entries entries
@@ -48,11 +49,13 @@
   ];
   /**
    * Returns fn to execute.
    * @param {ModuleId} id id
    * @returns {string} fn to execute
    */
   const runModule = (id) => `__webpack_exec__(${JSON.stringify(id)})`;
   /**
    * Output combination.
    * @param {Chunks} chunks chunks
    * @param {ModuleIds} moduleIds module ids
    * @param {boolean=} final true when final, otherwise false
@@ -131,6 +134,7 @@
};
/**
 * Returns initially fulfilled chunk ids.
 * @param {Chunk} chunk the chunk
 * @param {ChunkGraph} chunkGraph the chunk graph
 * @param {(chunk: Chunk, chunkGraph: ChunkGraph) => boolean} filterFn filter function
@@ -149,6 +153,7 @@
};
/**
 * Processes the provided hash.
 * @param {Hash} hash the hash to update
 * @param {ChunkGraph} chunkGraph chunkGraph
 * @param {EntryModuleWithChunkGroup[]} entries entries