mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +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:
parent
4334bc4b6a
commit
2d0819a26d
@ -56,7 +56,7 @@ module.exports = function (api) {
|
|||||||
[
|
[
|
||||||
'@babel/plugin-proposal-class-properties',
|
'@babel/plugin-proposal-class-properties',
|
||||||
{
|
{
|
||||||
loose: true
|
loose: false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user