2020-08-01 03:43:15 +02:00
|
|
|
|
"use strict";
|
|
|
|
|
|
2019-10-12 07:50:57 +02:00
|
|
|
|
module.exports = {
|
|
|
|
|
presets: [
|
|
|
|
|
[
|
|
|
|
|
"@babel/preset-env",
|
|
|
|
|
{
|
|
|
|
|
corejs: 3,
|
2020-07-16 23:29:01 +02:00
|
|
|
|
loose: true, // Loose mode for…of loops are 5× faster in Firefox
|
2019-10-12 07:50:57 +02:00
|
|
|
|
useBuiltIns: "usage",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"@babel/typescript",
|
|
|
|
|
],
|
|
|
|
|
plugins: [
|
|
|
|
|
"@babel/proposal-class-properties",
|
2020-07-16 22:40:18 +02:00
|
|
|
|
["@babel/plugin-proposal-unicode-property-regex", {useUnicodeFlag: false}],
|
2019-10-12 07:50:57 +02:00
|
|
|
|
],
|
|
|
|
|
sourceType: "unambiguous",
|
|
|
|
|
};
|