Try out different babel properties to fix compilation issues

pull/1440/head
tobspr 2 years ago
parent 07fb65f3b6
commit bf5199d77a

@ -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,
},
],
];

Loading…
Cancel
Save