From 99ee8c10982e77d61cf7e86117e7a192ac386242 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Wed, 3 Jan 2018 17:59:16 -0800 Subject: [PATCH] fix(babel): Config babel-preset-env to consider the electron version as well --- .babelrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 38ae0f81..cc472537 100644 --- a/.babelrc +++ b/.babelrc @@ -1,7 +1,10 @@ { "presets": [ ["env", { - "targets": { "node": 7 }, + "targets": { + "node": 7, + "browsers": "electron 1.7" + }, "useBuiltIns": true }], "stage-0",