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.

.babelrc 466B

123456789101112131415161718192021222324
  1. {
  2. "presets": [
  3. ["env", {
  4. "targets": { "node": 6 },
  5. "useBuiltIns": true
  6. }],
  7. "stage-0",
  8. "react"
  9. ],
  10. "plugins": ["transform-export-extensions"],
  11. "env": {
  12. "production": {
  13. "presets": ["react-optimize"],
  14. "plugins": ["babel-plugin-dev-expression"]
  15. },
  16. "development": {
  17. "plugins": [
  18. "transform-class-properties",
  19. "transform-es2015-classes",
  20. "react-hot-loader/babel"
  21. ]
  22. }
  23. }
  24. }