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

File loader.js

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

Source from the content-addressed store, hash-verified

1/** @type {import("../../../../").LoaderDefinition} */
2exports.default = function (source) {
3 const ref = JSON.parse(source);
4 const callback = this.async();

Callers

nothing calls this directly

Calls 4

asyncMethod · 0.65
importModuleMethod · 0.65
callbackFunction · 0.50
parseMethod · 0.45

Tested by

no test coverage detected