I had the same issue. My babel.config.js
had Chrome 58 as a target. According to this browser support table on MDN, spread in object literals are only supported in Chrome 60 and onwards.
To fix this, you either need to increase your minimum supported browser version, or change your code.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…