MCPcopy
hub / github.com/webpack/webpack / getEntryOptions

Method getEntryOptions

lib/Chunk.js:549–556  ·  view source on GitHub ↗

* Gets entry options. * @returns {EntryOptions | undefined} the entry options for this chunk

()

Source from the content-addressed store, hash-verified

547 * @returns {EntryOptions | undefined} the entry options for this chunk
548 */
549 getEntryOptions() {
550 for (const chunkGroup of this._groups) {
551 if (chunkGroup instanceof Entrypoint) {
552 return chunkGroup.options;
553 }
554 }
555 return undefined;
556 }
557
558 /**
559 * Adds the provided chunk group to the chunk.

Callers 15

applyMethod · 0.80
getOptionsForChunkMethod · 0.80
_generateBaseUriMethod · 0.80
isEnabledForChunkMethod · 0.80
_generateBaseUriMethod · 0.80
isEnabledForChunkMethod · 0.80
isEnabledForChunkMethod · 0.80
isEnabledForChunkMethod · 0.80
isEnabledForChunkMethod · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected