Terra Browserslist Shared Config
npm install @cerner/browserslist-config-terra

This configuration reflects Terra's supported browser policy for their UI library and build tools.
Browserslist is a library to share a browsers list between different front-end tools, like Autoprefixer, Eslint, and Stylelint.
* Valid Browserslist query syntax validation browserl.ist
* "Browserslist is a Good Idea" (blog post by @chriscoyier)
| Browser | Version |
|-----------------------------|---------|
| Chrome & Chrome for Android | Current |
| Edge | Current |
| Firefox | Current |
| Internet Explorer | 10 & 11 |
| Safari | Current |
| iOS | >= 12 |
Install the module
``shell`
npm install @cerner/browserslist-config-terra --save-dev
Terra's browserslist configuration should be extended from within a .browserslistrc file. Create a .browserslistrc if one does not already exist and extend from @cerner/browserslist-config-terra.
.browserslistrc
``
extends @cerner/browserslist-config-terra
The .browserslist file should be added to .npmignore to prevent being released. Projects that implement the files key in the package.json do not need to add the .browserslist file to the .npmignore`.
Do not extend the browserslist from within the package.json. This will create an implicit dependency that impacts all downstream consumers of the project.
Copyright 2018 - 2020 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.