Skip to content

Commit

Permalink
docs: Add default browserslist configuration as a starting point
Browse files Browse the repository at this point in the history
This addition helps users figure out that this is the kind of expression they
need to put in their `package.json`, and it provides the Next.js defaults to use
as a starting point. (I was initially confused and thought the default configuration
would just be "defaults".)
  • Loading branch information
joliss committed Nov 22, 2022
1 parent 28454c6 commit ccaa047
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/basic-features/supported-browsers-features.md
Expand Up @@ -14,7 +14,19 @@ Next.js supports **modern browsers** with zero configuration.

## Browserslist

If you would like to target specific browsers or features, Next.js supports [Browserslist](https://browsersl.ist) configuration.
If you would like to target specific browsers or features, Next.js supports [Browserslist](https://browsersl.ist) configuration in your `package.json` file. Next.js uses the following Browserslist configuration by default:

```json
{
"browserslist": [
"chrome 64",
"edge 79",
"firefox 67",
"opera 51",
"safari 12"
]
}
```

## Polyfills

Expand Down

0 comments on commit ccaa047

Please sign in to comment.