* fix: hoist variable declaration within do block * test: add input for variable-declaration-start * test: actually write a test for this issue * make prettier happy
@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