0👍
✅
Does the error point to the line using { ...obj }
object rest/spread properties? The syntax is a part of ECMAScript 2018 which is not supported by Edge Legacy and IE. You could also refer to this thread and this thread which have similar issues.
You need to use Babel to transpile it. Install @babel/plugin-proposal-object-rest-spread by running:
npm install --save-dev @babel/plugin-proposal-object-rest-spread
Then include it as plugin according to the usage.
Source:stackexchange.com