闭社主体 forked from https://github.com/tootsuite/mastodon
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.

38 lines
620 B

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