MCPcopy
hub / github.com/webpack/webpack / deserialize

Method deserialize

lib/ExternalModule.js:1373–1383  ·  view source on GitHub ↗

* Restores this instance from the provided deserializer context. * @param {ObjectDeserializerContext} context context

(context)

Source from the content-addressed store, hash-verified

1371 * @param {ObjectDeserializerContext} context context
1372 */
1373 deserialize(context) {
1374 this.request = context.read();
1375 const c1 = context.rest;
1376 this.externalType = c1.read();
1377 const c2 = c1.rest;
1378 this.userRequest = c2.read();
1379 const c3 = c2.rest;
1380 this.dependencyMeta = c3.read();
1381
1382 super.deserialize(c3.rest);
1383 }
1384}
1385
1386ExternalModule.getCompilationHooks = createHooksRegistry(

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected