MCPcopy
hub / github.com/webpack/webpack / setUsedWithoutInfo

Method setUsedWithoutInfo

lib/ExportsInfo.js:1238–1252  ·  view source on GitHub ↗

* Sets used without info. * @param {RuntimeSpec} runtime only apply to this runtime * @returns {boolean} true, when something changed

(runtime)

Source from the content-addressed store, hash-verified

1236 * @returns {boolean} true, when something changed
1237 */
1238 setUsedWithoutInfo(runtime) {
1239 let changed = false;
1240 if (this.setUsed(UsageState.NoInfo, runtime)) {
1241 changed = true;
1242 }
1243 if (this.canMangleUse !== false) {
1244 this.canMangleUse = false;
1245 changed = true;
1246 }
1247 if (this.canInlineUse !== false) {
1248 this.canInlineUse = false;
1249 changed = true;
1250 }
1251 return changed;
1252 }
1253
1254 setHasProvideInfo() {
1255 if (this.provided === undefined) {

Callers 2

setUsedWithoutInfoMethod · 0.45

Calls 1

setUsedMethod · 0.95

Tested by

no test coverage detected