From 8ee21877b35b42c1f20faad12bd732d9bb5ed748 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Fri, 23 Jun 2017 14:40:18 +0530 Subject: [PATCH] build: Configure targets.browser for babel-preset-env --- template/.babelrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/template/.babelrc b/template/.babelrc index a2a58cffcc..63826f65f4 100644 --- a/template/.babelrc +++ b/template/.babelrc @@ -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"],