JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3962
  • Score
    100M100P100Q139403F
  • License MIT

Google / G Suite Browserslist Shared Config

Package Exports

  • browserslist-config-google

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (browserslist-config-google) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Google / G Suite Browserslist Shared Config

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

What is Browserslist?

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

Browser support

You can review the current interpretation of this configuration at browserl.ist.

As of December 2017, these browsers are supported:

Desktop browsers [policy]

  • Chrome 62
  • Chrome 61
  • Edge 16
  • Edge 15
  • Firefox 56
  • Firefox 55
  • IE 11 (can be excluded via browserslist-config-google/no-ie)
  • Safari 11
  • Safari 10.1
  • Safari 10

Mobile [policy]

  • Chrome for Android 61
  • iOS Safari 11
  • iOS Safari 10.3
  • iOS Safari 10.0-10.2

Usage

package.json

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

🚫 Drop support for Internet Explorer 11 🚫

{
  "browserslist": [
    "extends browserslist-config-google/no-ie"
  ]
}

.babelrc

{
  "presets": [
    ["env", {
      "targets": {
        "browsers": ["extends browserslist-config-google"]
      },
      "useBuiltIns": "entry"
    }]
  ]
}

🚫 Drop support for Internet Explorer 11 🚫

{
  "presets": [
    ["env", {
      "targets": {
        "browsers": ["extends browserslist-config-google/no-ie"]
      },
      "useBuiltIns": "entry"
    }]
  ]
}

You can read more about babel-polyfill and useBuiltIns in the docs for babel-preset-env.