From ef6f6580df6e8fbce913eecc1fe7e0f8caf1315b Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Mon, 22 May 2023 22:33:19 +0200 Subject: Update electron version to v14.2.9 (#2214) Authored-by: rejbasket Co-authored-by: Kaalleen Co-authored-by: Lex Neva --- electron/babel.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 electron/babel.config.js (limited to 'electron/babel.config.js') diff --git a/electron/babel.config.js b/electron/babel.config.js new file mode 100644 index 00000000..ff2f95be --- /dev/null +++ b/electron/babel.config.js @@ -0,0 +1,16 @@ +module.exports = { + presets: [ + [ + '@babel/preset-env', + { + useBuiltIns: 'usage', // adds specific imports for polyfills when they are used in each file. + modules: false, // preserve ES modules. + corejs: { version: 3, proposals: true }, // enable polyfilling of every proposal supported by core-js. + }, + ], + ], + plugins: [ + '@babel/plugin-transform-runtime', // enables the re-use of Babel's injected helper code to save on codesize. + ], + exclude: [/core-js/], +} -- cgit v1.2.3