update example [skip ci] (#74)
This commit is contained in:
parent
b78eb34fa6
commit
37c1e40e5c
@ -1,16 +1,15 @@
|
||||
# babel-preset-env [](https://www.npmjs.com/package/babel-preset-env) [](https://travis-ci.org/babel/babel-preset-env) [](https://www.npmjs.com/package/babel-preset-env)
|
||||
|
||||
> Babel preset that automatically determines the correct babel plugins to use based on the provided environments.
|
||||
> Babel preset that automatically determines the the Babel plugins you need based on your supported environments. Uses compat-table
|
||||
|
||||
`npm install babel-preset-env --save-dev`
|
||||
|
||||
```js
|
||||
// .babelrc
|
||||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
"targets": {
|
||||
"chrome": 54
|
||||
"browsers": ["last 2 versions", "safari >= 7"]
|
||||
}
|
||||
}]
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user