babel reports syntax error for...What is the reason and how to modify it
女神的闺蜜爱上我2017-06-26 10:56:11
You need to install the npm package babel-plugin-transform-object-rest-spread
, and then add transform-object-rest-spread
to your babel configuration plugins node