Proposal: Logical Assignment Operators (#7385)
* Proposal: Logical Assignment Operators https://github.com/jridgewell/proposal-logical-assignment I'm bringing it [back](https://github.com/babel/babel/pull/516). 😉 * Use expectPlugin * Add to stage 0 preset * Add logicalAssignment missing plugin log stuff
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export default function() {
|
||||
return {
|
||||
manipulateOptions(opts, parserOpts) {
|
||||
parserOpts.plugins.push("logicalAssignment");
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user