search

Home  >  Q&A  >  body text

babel doesn't recognize... syntax - Stack Overflow


babel reports syntax error for...What is the reason and how to modify it

淡淡烟草味淡淡烟草味2713 days ago916

reply all(1)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我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

    reply
    0
  • Cancelreply