Compile ES2015 classes to ES5
See our website @babel/plugin-transform-classes for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-classes
or using yarn:
yarn add @babel/plugin-transform-classes --dev