@babel/plugin-transform-block-scoping
Compile ES2015 block scoping (const and let) to ES5
npm install @babel/plugin-transform-block-scoping Compile ES2015 block scoping (const and let) to ES5
npm install @babel/plugin-transform-block-scoping