MCPcopy
hub / github.com/webpack/webpack / stringifyLoadersAndResource

Function stringifyLoadersAndResource

lib/NormalModuleFactory.js:179–185  ·  view source on GitHub ↗
(loaders, resource)

Source from the content-addressed store, hash-verified

177 * @returns {string} stringified loaders and resource
178 */
179const stringifyLoadersAndResource = (loaders, resource) => {
180 let str = "";
181 for (const loader of loaders) {
182 str += `${loaderToIdent(loader)}!`;
183 }
184 return str + resource;
185};
186
187/**
188 * Checks whether it needs calls.

Callers 1

constructorMethod · 0.85

Calls 1

loaderToIdentFunction · 0.85

Tested by

no test coverage detected