Skip to content

Commit

Permalink
Merge pull request #110 from m4dz/chore/babel-preset-env
Browse files Browse the repository at this point in the history
Use babel-preset-env for accurate browser targeting
  • Loading branch information
enguerran authored Mar 9, 2017
2 parents 7ddb191 + 291355c commit ec520b8
Show file tree
Hide file tree
Showing 8 changed files with 7,343 additions and 388 deletions.
10 changes: 9 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"presets": ["es2015"],
"presets": [
["env", {
"targets": {
"chrome": 42,
"browsers": ["last 2 versions"]
},
"useBuiltIns": true
}]
],
"env": {
"test": {
"plugins": ["transform-async-to-generator"]
Expand Down
Loading

0 comments on commit ec520b8

Please sign in to comment.