@edx/browserslist-config
v1.2.0
Published
Shared browserslist config for Open edX
Downloads
23,702
Keywords
Readme
@edx/browserslist-config
Shareable browserslist configuration for Open edX. If our supported browsers changes in the future, this will be the primary place to update for all consumers (e.g., micro-frontends).
What is Browserslist?
Browserslist is a tool to share target browsers and Node.js versions between different frontend tools (e.g., autoprefixer, babel, etc.).
See documentation on shareable browserslist
configurations for more details.
Supported Browsers
Desktop
| Browser | Version | | ----------------------------- | ------- | | Chrome | last 2 | | Safari | last 2 | | Edge | last 2 | | Firefox | last 2 |
Mobile
| Browser | Version | | ----------------------------- | ------- | | Chrome for Android | last 3 | | Safari for iOS | last 3 | | Firefox for Android | last 3 |
List all supported browsers
You can list all supported browsers by running:
npm install
npm run supported
Learn more by visiting the browser support page on the edX Support Portal.
Installation and usage
Install the package in your repository:
$ npm install -D @edx/browserslist-config
In your package.json
file:
{
"browserslist": ["extends @edx/browserslist-config"]
}