MCPcopy
hub / github.com/webpack/webpack / usedExports

Method usedExports

lib/Module.js:484–490  ·  view source on GitHub ↗

* @deprecated * @returns {boolean | SortableSet<string> | null} used exports

()

Source from the content-addressed store, hash-verified

482 * @returns {boolean | SortableSet<string> | null} used exports
483 */
484 get usedExports() {
485 return ModuleGraph.getModuleGraphForModule(
486 this,
487 "Module.usedExports",
488 "DEP_WEBPACK_MODULE_USED_EXPORTS"
489 ).getUsedExports(this, undefined);
490 }
491
492 /**
493 * Gets optimization bailout.

Callers

nothing calls this directly

Calls 2

getUsedExportsMethod · 0.45

Tested by

no test coverage detected