Disable block scoping

This commit is contained in:
tobspr 2022-06-16 12:04:59 +02:00
parent 8a669f1a58
commit de2098f0cf
1 changed files with 6 additions and 6 deletions

View File

@ -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",
{