Corejs polyfilling es2021 array methods in build pipelines
When ES2021 array methods like flat() fail silently across runtimes, core-js provides the polyfill—but integration requires deliberate tree-shaking, version selection, and early injection to avoid bundle bloat and global pollution.