@chancedigital/browserslist-config

Shareable configuration for Browserslist following Chance Digital Coding Standards.

Usage no npm install needed!

<script type="module">
  import chancedigitalBrowserslistConfig from 'https://cdn.skypack.dev/@chancedigital/browserslist-config';
</script>

README

Chance Digital Browserslist Config

Shareable configuration for Browserslist following Chance Digital Coding Standards.

Installation

Install this configuration as a devDependency in your project:

yarn add -D @chancedigital/browserslist-config

Usage

Add this to your package.json file:

"browserslist": [
  "extends @chancedigital/browserslist-config"
]

Alternatively, add this to .browserslistrc file:

extends @chancedigital/browserslist-config

This package, when imported, returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the Browserslist examples repo.