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

File asyncloader.js

test/cases/loaders/async/loaders/asyncloader.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/** @type {import("../../../../../").LoaderDefinition} */
2module.exports = function (content) {
3 var cb = this.async();
4 if (!cb) throw new Error("Loader should allow async mode");

Callers

nothing calls this directly

Calls 1

asyncMethod · 0.65

Tested by

no test coverage detected