From bf5199d77a05fc865ebe198ef45698b7f60a08fa Mon Sep 17 00:00:00 2001 From: tobspr Date: Thu, 16 Jun 2022 10:52:49 +0200 Subject: [PATCH] Try out different babel properties to fix compilation issues --- gulp/babel.config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gulp/babel.config.js b/gulp/babel.config.js index c8a75c37..8554ebd1 100644 --- a/gulp/babel.config.js +++ b/gulp/babel.config.js @@ -14,18 +14,18 @@ module.exports = function (api) { ], ]; const plugins = [ - "closure-elimination", + // "closure-elimination", // var is faster than let and const! - [ - "@babel/plugin-transform-block-scoping", - { - throwIfClosureRequired: false, - }, - ], + // [ + // "@babel/plugin-transform-block-scoping", + // { + // throwIfClosureRequired: false, + // }, + // ], [ "@babel/plugin-transform-classes", { - loose: true, + loose: false, }, ], ];