getValueOfPropertyDescription = expr => {
	if (expr.type !== "ObjectExpression") return;
	for (const property of expr.properties) {
		if (property.type === "SpreadElement" || property.computed) continue;
		const key = property.key;
		if (key.type !== "Identifier" || key.name !== "value") continue;
		return /** @type {Expression} */ (property.value);
	}
}
This function takes a generic expression and detects whether it is an ObjectExpression.
This is used in the context of parsing CommonJS exports to get the value of the property descriptor
when the `exports` object is assigned to `Object.defineProperty`.

In CommonJS modules, the `exports` object can be assigned to `Object.defineProperty` and therefore
webpack has to detect this case and get the value key of the property descriptor. See the following example
for more information: https://astexplorer.net/#/gist/83ce51a4e96e59d777df315a6d111da6/8058ead48a1bb53c097738225db0967ef7f70e57

This would be an example of a CommonJS module that exports an object with a property descriptor:
```js
Object.defineProperty(exports, "__esModule", { value: true });
exports.foo = void 0;
exports.foo = "bar";
```
@param {Expression} expr expression
@returns {Expression | undefined} returns the value of property descriptor