* Whether this HTML module is reached as a compilation entry. Entry * modules have at least one incoming connection without an * `originModule` (the EntryDependency added by `compilation.addEntry`). * @param {NormalModule} module module * @returns {boolean} true when the module is an entry
(module)
| 167 | * @returns {boolean} true when the module is an entry |
| 168 | */ |
| 169 | _isEntryModule(module) { |
| 170 | if (!this._moduleGraph) return false; |
| 171 | for (const connection of this._moduleGraph.getIncomingConnections(module)) { |
| 172 | if (!connection.originModule) return true; |
| 173 | } |
| 174 | return false; |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Whether to emit the extracted `.html` file for this module. |
no test coverage detected