update @babel/preset-latest docs (#7854) [skip ci]
This commit is contained in:
parent
dca2631ef0
commit
5f58117790
@ -6,7 +6,7 @@
|
||||
npm install @babel/preset-env --save-dev
|
||||
```
|
||||
|
||||
Without any configuration options, @babel/preset-env behaves exactly the same as @babel/preset-latest (or @babel/preset-es2015, @babel/preset-es2016, and @babel/preset-es2017 together).
|
||||
Without any configuration options, `@babel/preset-env` behaves exactly the same as [`@babel/preset-es2015`](https://github.com/babel/babel/tree/master/packages/babel-preset-es2015), [`@babel/preset-es2016`](https://github.com/babel/babel/tree/master/packages/babel-preset-es2016) and [`@babel/preset-es2017`](https://github.com/babel/babel/tree/master/packages/babel-preset-es2017) together (or the deprecated `babel-preset-latest`).
|
||||
|
||||
> We don't recommend using `preset-env` this way because it doesn't take advantage of its ability to target specific browsers.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user