MCPcopy
hub / github.com/webpack/webpack / addTerminal

Method addTerminal

lib/LazyBarrel.js:104–107  ·  view source on GitHub ↗

* Registers a locally provided export name. * @param {string} id export name

(id)

Source from the content-addressed store, hash-verified

102 * @param {string} id export name
103 */
104 addTerminal(id) {
105 if (this._terminalIds === undefined) this._terminalIds = new Set();
106 this._terminalIds.add(id);
107 }
108
109 /**
110 * Registers a star re-export request key.

Callers 1

classifyMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected