.compilerc 761 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "env": {
  3. "development": {
  4. "application/javascript": {
  5. "presets": [
  6. [
  7. "env",
  8. {
  9. "targets": {
  10. "electron": "2.0"
  11. }
  12. }
  13. ],
  14. "react"
  15. ],
  16. "plugins": [
  17. "transform-async-to-generator"
  18. ],
  19. "sourceMaps": "inline"
  20. }
  21. },
  22. "production": {
  23. "application/javascript": {
  24. "presets": [
  25. [
  26. "env",
  27. {
  28. "targets": {
  29. "electron": "2.0"
  30. }
  31. }
  32. ],
  33. "react"
  34. ],
  35. "plugins": [
  36. "transform-async-to-generator"
  37. ],
  38. "sourceMaps": "none"
  39. }
  40. }
  41. }
  42. }