.babelrc 501 B

1234567891011121314151617181920
  1. {
  2. "presets": [
  3. ["env",{ "modules": false }],"react","stage-1"
  4. ],
  5. "plugins": [
  6. ["transform-runtime", {
  7. "helpers": false,
  8. "polyfill": false,
  9. "regenerator": true,
  10. "moduleName": "babel-runtime"
  11. }]
  12. ]
  13. }
  14. // "plugins": [,"stage-0","stage-3"
  15. // [ "transform-class-properties",
  16. // "transform-es2015-classes", {
  17. // "loose": true
  18. // }
  19. // ]
  20. // ]