"Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env"
See browserslist.
npm install @telusdigital/browserslist-config --save-devCreate 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.
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 browsersFor local development, also run:
npm run setup-localGithub: @telus • Twitter: @telusdigital