No Description

.babelrc 369B

12345678910111213141516171819
  1. {
  2. "presets": [
  3. "@babel/preset-env",
  4. "@babel/preset-react",
  5. "@babel/preset-typescript"
  6. ],
  7. "plugins": [
  8. [
  9. "import",
  10. {
  11. "libraryName": "antd",
  12. "style": true, // or 'css'
  13. "libraryDirectory": "es"
  14. }
  15. ],
  16. "@babel/plugin-proposal-class-properties"
  17. // "@babel/plugin-proposal-export-default-from"
  18. ]
  19. }