Replace Object.assign with an inline helper
See our website @babel/plugin-transform-object-assign for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-object-assign
or using yarn:
yarn add @babel/plugin-transform-object-assign --dev