暂无描述

.babelrc 324B

1234567891011121314151617
  1. {
  2. "presets": [
  3. [
  4. "@babel/preset-env",
  5. {
  6. "targets": "last 2 versions, ie 10",
  7. "modules": false
  8. }
  9. ],
  10. "@babel/preset-react",
  11. "@babel/preset-typescript"
  12. ],
  13. "plugins": [
  14. "@babel/plugin-proposal-class-properties"
  15. // "@babel/plugin-proposal-export-default-from"
  16. ]
  17. }