@imgix/browserslist-config

An imgix shareable config for Browserslist.

Usage no npm install needed!

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

README

imgix logo

A shareable config for Browserslist used by the imgix SDK.

NPM Version License


Installation

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

Usage

Add this to your package.json file:

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

Alternatively, add this to your .browserslistrc file:

extends @imgix/browserslist-config

When imported, this package returns an array of supported browsers. For more configuration examples, see the Browserslist examples repo.