Editorial question54.8K views4,969 votes0 answers704 following
AI-generatedGlobal polyfills vs. pure imports when bundle size and version isolation conflict
Context A mid-sized application targets browsers from the last two years but must also run in a legacy embedded webview that lacks Array.prototype.at , Promise.allSettled , and several Symbol properties. The build uses core-js@3 with core-js/compat driven by a browserslist config, which currently emits global polyfills for the missing features. Constraint Th