MCPcopy
hub / github.com/webpack/webpack / storeBuildDependencies

Method storeBuildDependencies

lib/Cache.js:145–150  ·  view source on GitHub ↗

* Persists the set of build dependencies required to determine whether the * cache can be restored in a future compilation. * @param {Iterable<string>} dependencies list of all build dependencies * @param {CallbackCache<void>} callback signals when the dependencies are stored * @returns {voi

(dependencies, callback)

Source from the content-addressed store, hash-verified

143 * @returns {void}
144 */
145 storeBuildDependencies(dependencies, callback) {
146 this.hooks.storeBuildDependencies.callAsync(
147 dependencies,
148 makeWebpackErrorCallback(callback, "Cache.hooks.storeBuildDependencies")
149 );
150 }
151
152 /**
153 * Signals that webpack is entering an idle phase and cache backends may flush

Callers 3

_doneMethod · 0.45
finalCallbackMethod · 0.45
onCompiledMethod · 0.45

Calls 1

makeWebpackErrorCallbackFunction · 0.85

Tested by

no test coverage detected