MCPcopy
hub / github.com/webpack/webpack / mergeInto

Method mergeInto

lib/ModuleProfile.js:124–131  ·  view source on GitHub ↗

* Merge this profile into another one * @param {ModuleProfile} realProfile the profile to merge into * @returns {void}

(realProfile)

Source from the content-addressed store, hash-verified

122 * @returns {void}
123 */
124 mergeInto(realProfile) {
125 realProfile.additionalFactories = this.factory;
126 (realProfile.additionalFactoryTimes =
127 realProfile.additionalFactoryTimes || []).push({
128 start: this.factoryStartTime,
129 end: this.factoryEndTime
130 });
131 }
132}
133
134module.exports = ModuleProfile;

Callers 1

handleModuleCreationMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected