Permalink
Browse files

build(babel): introduce preset-env

  • Loading branch information...
axe312ger committed Aug 16, 2017
1 parent ded7fe9 commit 7173edc010bd686571381bec280a5f041a6183b7
Showing with 6 additions and 3 deletions.
  1. +5 −2 .babelrc
  2. +1 −1 package.json
View
@@ -2,11 +2,14 @@
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"transform-async-to-generator",
"date-fns"
],
"presets": [
"preact",
"es2015"
["env", {
"targets": {
"browsers": ["last 2 versions", "safari > 8", "not ie < 11"]
}
}]
]
}
View
@@ -30,7 +30,7 @@
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-env": "^1.6.0",
"babel-preset-preact": "^1.1.0",
"css-loader": "^0.28.4",
"eslint": "^4.3.0",

0 comments on commit 7173edc

Please sign in to comment.