Make Babel support logical assignment operators.

That's ||=, &&=, ^^=, and the like.
This commit is contained in:
D. Berge
2021-10-03 18:52:38 +02:00
parent 1e6c6ef961
commit f2de8509cc
3 changed files with 62 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
],
plugins: [
'@babel/plugin-proposal-logical-assignment-operators'
]
}