perf: reduce output for missing import.meta.env properties by xiaoxiaojx · Pull Request #20289 · webpack/webpack

Summary
Fixed webpack/security/advisories/GHSA-wcwh-rqmx-59w4

+ if (undefined){}
- if ({"TERM_PROGRAM":"vscode","NODE":"/usr/local/bin/node", ...}.UNKNOWN_PROPERTY){}

What kind of change does this PR introduce?
perf

Did you add tests for your changes?
Yes

Does this PR introduce a breaking change?
No

If relevant, what needs to be documented once your changes are merged or what have you already documented?
Nothing