babel/packages/babel-plugin-proposal-do-expressions
Tan Li Hau 3e4a9d588b Do expressions transform for switch statements (#10070)
* lint fix

* switch inside do expression

* review comments

* review comments

* make min diff

* adding more test

* review changes

* review changes

* handle block statement and added more test cases

* fix implementation and add more test cases

* fix last swtich case

* disable block fallthrough case

* fix nitpick reviews
2019-08-01 09:36:35 +02:00
..
2018-11-18 23:02:58 +01:00
2019-07-04 14:52:17 +02:00

@babel/plugin-proposal-do-expressions

Compile do expressions to ES5

See our website @babel/plugin-proposal-do-expressions for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-proposal-do-expressions

or using yarn:

yarn add @babel/plugin-proposal-do-expressions --dev