()
| 1139 | _createLoaderContext(resolver, options, compilation, fs, hooks) { |
| 1140 | const { requestShortener } = compilation.runtimeTemplate; |
| 1141 | const getCurrentLoaderName = () => { |
| 1142 | const currentLoader = this.getCurrentLoader( |
| 1143 | /** @type {AnyLoaderContext} */ |
| 1144 | (loaderContext) |
| 1145 | ); |
| 1146 | if (!currentLoader) return "(not in loader scope)"; |
| 1147 | return requestShortener.shorten(currentLoader.loader); |
| 1148 | }; |
| 1149 | /** |
| 1150 | * @returns {ResolveContext} resolve context |
| 1151 | */ |
nothing calls this directly
no test coverage detected