(chunk)
| 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() |
nothing calls this directly
no test coverage detected