/browserslist-config-google

Google / G Suite Browserslist Shared Config

Primary LanguageJavaScriptMIT LicenseMIT

Google / G Suite Browserslist Shared Config

This configuration reflects Google's supported browser policy for their suite of web applications.

NPM

What is Browserslist?

Share browsers list between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env.

Browser support

Desktop browsers [policy]

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE 11 (excluded by no-ie & modern alternative configs)

Mobile [policy]

  • Chrome for Android (caniuse data caveat: best covered by matching desktop Chrome versions)
  • iOS Safari

Usage

package.json

{
  "browserslist": ["extends browserslist-config-google"]
}

Alternative configuration

Last n versions or >= [version]

Config Chrome Firefox Safari Edge IE ChromeAndroid iOS
browserslist-config-google 1 2 2 2 1 3 2
browserslist-config-google/no-ie 1 2 2 2 0 3 2
browserslist-config-google/modern 2 2 2 2 0 2 2
browserslist-config-google/gdocs 2 2 2 2 1 >= 37 >= 11

There is also browserslist-config-google/popular for supporting above browsers with global usage >= 0.5%