Skip to content

telus/browserslist-config

Repository files navigation

TELUS Shared Browserslist Config

version Build Status

What is browserslist?

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

See browserslist.

Install

npm install @telusdigital/browserslist-config --save-dev

Set up

Create a browserslist file in the root of your project. Add the following line to extend from this config:

extends @telusdigital/browserslist-config

You can also add your own queries after the extends, though this is not recommended.

Which browsers do I support?

You can use the browserslist CLI to inspect the browsers targeted by the queries in your browserslist config.

npx browserslist              # Output a list of targeted browsers
npx browserslist --coverage   # Total coverage of targeted browsers

For local development, also run:

npm run setup-local

Github: @telus • Twitter: @telusdigital