MCPcopy
hub / github.com/webpack/webpack / setHasUseInfo

Method setHasUseInfo

lib/ExportsInfo.js:1263–1274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1261 }
1262
1263 setHasUseInfo() {
1264 if (!this._hasUseInRuntimeInfo) {
1265 this._hasUseInRuntimeInfo = true;
1266 }
1267 if (this.canMangleUse === undefined) {
1268 this.canMangleUse = true;
1269 }
1270 if (this.exportsInfoOwned) {
1271 /** @type {ExportsInfo} */
1272 (this.exportsInfo).setHasUseInfo();
1273 }
1274 }
1275
1276 /**
1277 * Sets used conditionally.

Callers 2

setHasUseInfoMethod · 0.45
applyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected