闭社主体 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.

36 lines
557 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. "transform-object-rest-spread",
  16. [
  17. "react-intl",
  18. {
  19. "messagesDir": "./build/messages"
  20. }
  21. ]
  22. ],
  23. "env": {
  24. "development": {
  25. "plugins": [
  26. "transform-react-jsx-source",
  27. "transform-react-jsx-self"
  28. ]
  29. },
  30. "production": {
  31. "plugins": [
  32. "lodash"
  33. ]
  34. }
  35. }
  36. }