barthy-koeln/browserslist-check-bundle
.browserslistrc-compatible solution instead of a proprietary implementation.modern.js vs. legacy.js) based on user-agent, reducing payload size for modern browsers.Adopt if:
.browserslistrc for tooling (e.g., Autoprefixer, Babel) and want consistency across frontend and backend.Look elsewhere if:
@supports or JavaScript) rather than static user-agent matching.For Executives: "This package lets us serve faster, lighter web assets to modern browsers—cutting bandwidth costs by up to 30% for users on Chrome 97+, Firefox 91+, etc., while keeping legacy support intact. It’s a low-risk, zero-maintenance way to align our frontend tooling (like Autoprefixer) with our backend, using a proven library. Think of it as ‘automatic dieting’ for our website’s assets."
For Engineering: *"We can integrate this in <2 hours to:
.browserslistrc (already used by our team) into PHP logic.modern.js (tree-shaken, no polyfills) or legacy.js based on user-agent.How can I help you explore Laravel packages today?