You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
738 B

  1. {
  2. "presets": [
  3. "react",
  4. [
  5. "env",
  6. {
  7. "loose": true,
  8. "modules": false,
  9. "targets": {
  10. "browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
  11. }
  12. }
  13. ]
  14. ],
  15. "plugins": [
  16. "syntax-dynamic-import",
  17. "transform-object-rest-spread",
  18. "transform-class-properties",
  19. [
  20. "react-intl",
  21. {
  22. "messagesDir": "./build/messages"
  23. }
  24. ]
  25. ],
  26. "env": {
  27. "development": {
  28. "plugins": [
  29. "transform-react-jsx-source",
  30. "transform-react-jsx-self"
  31. ]
  32. },
  33. "production": {
  34. "plugins": [
  35. "lodash"
  36. ]
  37. },
  38. "test": {
  39. "plugins": [
  40. "transform-es2015-modules-commonjs"
  41. ]
  42. }
  43. }
  44. }