1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

disable loose option for @babel/plugin-proposal-class-properties

The loose option must be the same for @babel/plugin-proposal-class-properties and @babel/preset-env. Official babel docs recommands to disable loose option
This commit is contained in:
Sylvain 2021-05-25 11:24:22 +02:00
parent 4334bc4b6a
commit 2d0819a26d

View File

@ -56,7 +56,7 @@ module.exports = function (api) {
[
'@babel/plugin-proposal-class-properties',
{
loose: true
loose: false
}
],
[