wearerequired/js

Introduce a "modern" version of browserslist config

Closed this issue · 2 comments

The version should be added in addition to the current version and include only modern browsers which are basically the same as the current but without IE11.

This is the current list:

[production]
ie >= 11
last 2 ChromeAndroid versions
last 2 Chrome versions
last 2 Firefox versions
last 2 Safari versions
last 2 iOS versions
last 2 Edge versions
last 2 Opera versions

[development]
last 1 Chrome versions
last 1 Firefox versions
last 1 Safari versions

To use the config a project you should be able to do something like this:

extends @wearerequired/browserslist-config/modern

cc: @velthy

WordPress 5.8 will officially remove IE11 support, see https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/. So far this might only affect stylesheets.