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:
Justin Ridgewell
2018-02-18 13:56:29 -05:00
committed by GitHub
parent 3d49766f6b
commit 7e90d56024
27 changed files with 753 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
export default function() {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("logicalAssignment");
},
};
}