mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Try out different babel properties to fix compilation issues
This commit is contained in:
parent
07fb65f3b6
commit
bf5199d77a
@ -14,18 +14,18 @@ module.exports = function (api) {
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
const plugins = [
|
const plugins = [
|
||||||
"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: false,
|
// throwIfClosureRequired: false,
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
[
|
[
|
||||||
"@babel/plugin-transform-classes",
|
"@babel/plugin-transform-classes",
|
||||||
{
|
{
|
||||||
loose: true,
|
loose: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user