Diagnosing core-js Array.prototype.flat polyfill inclusion in modern builds
When core-js injects Array.prototype.flat polyfill code into bundles for native‑supporting environments, bundle size grows needlessly. This diagnostic guide walks through recognizable conditions, a cause‑diagnostic table, ordered checks, fixes tied to findings, and escalation criteria.