Skip to content

Commit

Permalink
build: Configure targets.browser for babel-preset-env (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas authored and LinusBorg committed Jun 27, 2017
1 parent 8563cdb commit 065f24c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"presets": [
["env", { "modules": false }],
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-runtime"],
Expand Down

0 comments on commit 065f24c

Please sign in to comment.