通用评论

.babelrc 191B

1234567891011
  1. {
  2. "presets": ["env", "react"],
  3. "plugins": [
  4. "transform-object-rest-spread",
  5. [
  6. "import",
  7. { "libraryName": "antd", "libraryDirectory": "es", "style": true }
  8. ]
  9. ]
  10. }