Update the rest of the dependencies to the latest version (bonus 😉 )
Updated .babelrc, because of a warning mentioning that the config of "@babel/plugin-proposal-private-methods" should match "@babel/plugin-proposal-class-properties". Since the 2nd one is loose:true the other one should as well. At least that's one way to solve it I believe.
Note:
Babel warning goes something like:
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.
What I did:
"@babel/plugin-proposal-private-methods"
should match"@babel/plugin-proposal-class-properties"
. Since the 2nd one is loose:true the other one should as well. At least that's one way to solve it I believe.Note: Babel warning goes something like: