Skip to content

Commit

Permalink
Docs: mention browserslist usage via browserslistrc file (#13810)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored and youknowriad committed Mar 6, 2019
1 parent c98f664 commit acf42c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/browserslist-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Add this to your `package.json` file:
]
```

Alternatively, add this to `.browserslistrc` file:

```
extends @wordpress/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](https://github.com/ai/browserslist-example#browserslist-example) repo.

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>

0 comments on commit acf42c2

Please sign in to comment.