From de2098f0cfb43e181887d47fec0f38771ba2f852 Mon Sep 17 00:00:00 2001 From: tobspr Date: Thu, 16 Jun 2022 12:04:59 +0200 Subject: [PATCH] Disable block scoping --- gulp/babel.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gulp/babel.config.js b/gulp/babel.config.js index df42d43e..62839421 100644 --- a/gulp/babel.config.js +++ b/gulp/babel.config.js @@ -24,12 +24,12 @@ module.exports = function (api) { "@babel/plugin-transform-arrow-functions", "closure-elimination", // var is faster than let and const! - [ - "@babel/plugin-transform-block-scoping", - { - throwIfClosureRequired: true, - }, - ], + // [ + // "@babel/plugin-transform-block-scoping", + // { + // throwIfClosureRequired: true, + // }, + // ], [ "@babel/plugin-transform-classes", {