This plugin transforms ES2015 modules to CommonJS
See our website @babel/plugin-transform-modules-commonjs for more information.
Using npm:
npm install --save @babel/plugin-transform-modules-commonjs
or using yarn:
yarn add --save @babel/plugin-transform-modules-commonjs