Serve polyfill detecting browser's support
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
We are using some polyfills to support some ES2015 features. We are serving those polyfills to all users even who are using evergreen browsers. If we detect the browser support of a feature and supply polyfills according to it. It may help us to
- Leverage the power of
ESNextfeatures - Reduce response payload
- Improve performance
There are already some feature detection libraries out there like Modernizr (supports custom build) FeatureJS.
There is also a Webpack loader for this autopolyfiller-loader
Edited by 🤖 GitLab Bot 🤖