Justin Ridgewell 7e90d56024
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
2018-02-18 13:56:29 -05:00

8 lines
147 B
JavaScript

export default function() {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("logicalAssignment");
},
};
}