MCPcopy
hub / github.com/webpack/webpack / loader.js

File loader.js

test/cases/errors/import-module-cycle-multiple/loader.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/** @type {import("../../../../").LoaderDefinitionFunction} */
2exports.default = function (source) {
3 const content = JSON.parse(source);
4 // content is one reference or an array of references

Callers

nothing calls this directly

Calls 5

importReferencedModulesFunction · 0.85
isArrayMethod · 0.80
asyncMethod · 0.65
callbackFunction · 0.50
parseMethod · 0.45

Tested by

no test coverage detected