MCPcopy
hub / github.com/webpack/webpack / addDependency

Method addDependency

lib/NormalModule.js:1613–1615  ·  view source on GitHub ↗
(dependency)

Source from the content-addressed store, hash-verified

1611 /** @type {AnyLoaderContext} */
1612 ({
1613 addDependency(dependency) {
1614 loaderContext.addDependency(dependency);
1615 },
1616 fs: loaderContext.fs,
1617 _module: undefined,
1618 resourcePath,

Callers

nothing calls this directly

Calls 1

addDependencyMethod · 0.65

Tested by

no test coverage detected