.babelrc 670 B

123456789101112131415161718192021222324252627
  1. {
  2. "presets": [
  3. ["env", {
  4. "loose": true,
  5. "debug": false,
  6. "useBuiltIns": true,
  7. "targets": {
  8. "browsers": [ "ie > 8", "last 2 version", "safari >= 9" ]
  9. },
  10. "production": {
  11. "plugins": ["transform-remove-console"]
  12. }
  13. }]
  14. ],
  15. "plugins": [
  16. [ "transform-runtime", {
  17. "helpers": false,
  18. "polyfill": false,
  19. "regenerator": true } ],
  20. [ "transform-class-properties", { "spec": true } ],
  21. [ "transform-object-rest-spread", { "useBuiltIns": true } ],
  22. [ "transform-vue-jsx" ],
  23. [ "syntax-dynamic-import" ]
  24. ],
  25. "comments": false
  26. }