MCPcopy
hub / github.com/webpack/webpack / isEntryModule

Method isEntryModule

lib/ChunkGraph.js:588–591  ·  view source on GitHub ↗

* Checks whether this chunk graph is entry module. * @param {Module} module the checked module * @returns {boolean} true, if the module is entry of any chunk

(module)

Source from the content-addressed store, hash-verified

586 * @returns {boolean} true, if the module is entry of any chunk
587 */
588 isEntryModule(module) {
589 const cgm = this._getChunkGraphModule(module);
590 return cgm.entryInChunks !== undefined;
591 }
592
593 /**
594 * Gets module chunks iterable.

Callers

nothing calls this directly

Calls 1

_getChunkGraphModuleMethod · 0.95

Tested by

no test coverage detected