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

Method isEntryModule

lib/Module.js:568–574  ·  view source on GitHub ↗

* @deprecated * @returns {boolean} true when is entry module, otherwise false

()

Source from the content-addressed store, hash-verified

566 * @returns {boolean} true when is entry module, otherwise false
567 */
568 isEntryModule() {
569 return ChunkGraph.getChunkGraphForModule(
570 this,
571 "Module.isEntryModule",
572 "DEP_WEBPACK_MODULE_IS_ENTRY_MODULE"
573 ).isEntryModule(this);
574 }
575
576 /**
577 * @deprecated

Callers 2

applyMethod · 0.45
webpack.config.jsFile · 0.45

Calls 1

Tested by

no test coverage detected