MCPcopy
hub / github.com/webpack/webpack / addAsyncEntrypoint

Method addAsyncEntrypoint

lib/ChunkGroup.js:400–404  ·  view source on GitHub ↗

* Registers an async entrypoint that is rooted in this chunk group. * @param {Entrypoint} entrypoint entrypoint to add * @returns {boolean} returns true if entrypoint was added

(entrypoint)

Source from the content-addressed store, hash-verified

398 * @returns {boolean} returns true if entrypoint was added
399 */
400 addAsyncEntrypoint(entrypoint) {
401 const size = this._asyncEntrypoints.size;
402 this._asyncEntrypoints.add(entrypoint);
403 return size !== this._asyncEntrypoints.size;
404 }
405
406 get asyncEntrypointsIterable() {
407 return this._asyncEntrypoints;

Callers 1

iteratorBlockFunction · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected