MCPcopy
hub / github.com/webpack/webpack / isChunkLoadingDisabledForChunk

Method isChunkLoadingDisabledForChunk

lib/RuntimePlugin.js:155–162  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

153 * @returns {boolean} true, when chunk loading is disabled for the chunk
154 */
155 const isChunkLoadingDisabledForChunk = (chunk) => {
156 const options = chunk.getEntryOptions();
157 const chunkLoading =
158 options && options.chunkLoading !== undefined
159 ? options.chunkLoading
160 : globalChunkLoading;
161 return chunkLoading === false;
162 };
163 compilation.dependencyTemplates.set(
164 RuntimeRequirementsDependency,
165 new RuntimeRequirementsDependency.Template()

Callers

nothing calls this directly

Calls 1

getEntryOptionsMethod · 0.80

Tested by

no test coverage detected