mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Disable block scoping
This commit is contained in:
parent
8a669f1a58
commit
de2098f0cf
@ -24,12 +24,12 @@ module.exports = function (api) {
|
|||||||
"@babel/plugin-transform-arrow-functions",
|
"@babel/plugin-transform-arrow-functions",
|
||||||
"closure-elimination",
|
"closure-elimination",
|
||||||
// var is faster than let and const!
|
// var is faster than let and const!
|
||||||
[
|
// [
|
||||||
"@babel/plugin-transform-block-scoping",
|
// "@babel/plugin-transform-block-scoping",
|
||||||
{
|
// {
|
||||||
throwIfClosureRequired: true,
|
// throwIfClosureRequired: true,
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
[
|
[
|
||||||
"@babel/plugin-transform-classes",
|
"@babel/plugin-transform-classes",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user