.babelrc 374 B

12345678910111213141516171819202122232425
  1. {
  2. "presets": [
  3. [
  4. "env",
  5. {
  6. "useBuiltIns": true,
  7. "targets": {
  8. "node": "current"
  9. },
  10. "exclude": [
  11. "transform-async-to-generator",
  12. "transform-regenerator"
  13. ]
  14. }
  15. ]
  16. ],
  17. "plugins": [
  18. [
  19. "transform-object-rest-spread",
  20. {
  21. "useBuiltIns": true
  22. }
  23. ]
  24. ]
  25. }