Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imgix/browserslist-config

An imgix shareable config for Browserslist.
https://github.com/imgix/browserslist-config

browserslist browserslist-config imgix

Last synced: 6 days ago
JSON representation

An imgix shareable config for Browserslist.

Awesome Lists containing this project

README

        

![imgix logo](https://assets.imgix.net/sdk-imgix-logo.svg)

A [shareable config](https://github.com/browserslist/browserslist#shareable-configs) for Browserslist used by the [imgix SDK](https://docs.imgix.com/libraries).

[![NPM Version](https://img.shields.io/npm/v/@imgix/browserslist-config)](https://www.npmjs.com/package/@imgix/browserslist-config)
[![License](https://img.shields.io/github/license/imgix/browserslist-config)](https://github.com/imgix/browserslist-config/blob/main/LICENSE.md)

---

## Installation

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

## Usage

Add this to your `package.json` file:

```json
"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](https://github.com/browserslist/browserslist-example#browserslist-example) repo.