Skip to content

Commit

Permalink
Add Browserslist documentation (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsroge authored and MartijnCuppens committed Oct 4, 2019
1 parent f1993a7 commit ce919da
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,20 @@ You can combine multiple `<svg>`s you use into one sprite. Just drop the files i

[Browsersync](https://browsersync.io) can be enabled for as well serving static sites (`server` option) or dynamic sites (`proxy` option). With the `reload` option, you can define a glob to watch for. Browsersync will then reload the page if one of the matching files is changed. For example, use `**/*.html` to watch for changes in HTML files.

## Browserslist
Browserslist is a single configuration for all tools that need to know what browsers you support. Just create a Browserslist compatible configuration and define the browsers you want to support.

For example you could place a `.browserslistrc` in your document root.
```
# Browsers that we support

last 1 version
> 1%
IE 10 # sorry
```
Tools like Autoprefixer will compile according to the Browserslist configuration you defined.
## RFS
The [RFS](https://github.com/twbs/rfs) PostCSS plugin is included by default which allows you to use the `rfs()` function in your Sass.
Expand Down

0 comments on commit ce919da

Please # to comment.