Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
docs(README): use @babel/preset-env for Babel 7 (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pegase745 authored and s-panferov committed Jun 10, 2018
1 parent 1d4568a commit ee7bcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -182,7 +182,7 @@ You may want to `"babelrc": false to disable `.babelrc` if you don't want it:
"babelOptions": {
"babelrc": false, /* Important line */
"presets": [
["env", { "targets": "last 2 versions, ie 11", "modules": false }]
["@babel/preset-env", { "targets": "last 2 versions, ie 11", "modules": false }]
]
},
"babelCore": "@babel/core", // needed for Babel v7
Expand Down

0 comments on commit ee7bcf5

Please sign in to comment.