From ee01f607bf96c9ff44ae53b36839a13f2558412c Mon Sep 17 00:00:00 2001 From: Henrik Wenz Date: Sat, 10 Apr 2021 13:53:57 +0200 Subject: [PATCH] Improve .babelrc --- example/babel.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/example/babel.config.js b/example/babel.config.js index 1a4275e..a483a75 100644 --- a/example/babel.config.js +++ b/example/babel.config.js @@ -7,10 +7,7 @@ module.exports = { { "preset-env": { targets: { - // Babel Env needs to upgrade electron-to-chromium - // for the following line to work with electron > 7: - // electron: devDependencies.electron.replace(/^\^|~/, ""), - electron: 7, + electron: devDependencies.electron.replace(/^\^|~/, ""), }, }, },