.babelrc 442 B

12345678910111213141516171819202122
  1. {
  2. "presets": [
  3. "umi/babel"
  4. ],
  5. "plugins": [
  6. [
  7. "babel-plugin-module-resolver",
  8. {
  9. "alias": {
  10. "components": "./src/components",
  11. "utils": "./src/utils",
  12. "config": "./src/utils/config",
  13. "services": "./src/services",
  14. "models": "./src/models",
  15. "routes": "./src/routes",
  16. "themes": "./src/themes"
  17. }
  18. }
  19. ]
  20. ]
  21. }