Compile ES2015 block scoping (const and let) to ES5
See our website @babel/plugin-transform-block-scoping for more information.
Using npm:
npm install --save @babel/plugin-transform-block-scoping
or using yarn:
yarn add --save @babel/plugin-transform-block-scoping