.roadhogrc 515 B

123456789101112131415161718192021222324
  1. {
  2. "entry": "src/index.js",
  3. "extraBabelPlugins": [
  4. "transform-runtime",
  5. "transform-decorators-legacy",
  6. "transform-class-properties",
  7. ["import", { "libraryName": "antd", "libraryDirectory": "es", "style": true }]
  8. ],
  9. "env": {
  10. "development": {
  11. "extraBabelPlugins": [
  12. "dva-hmr"
  13. ]
  14. }
  15. },
  16. "externals": {
  17. "g2": "G2",
  18. "g-cloud": "Cloud",
  19. "g2-plugin-slider": "G2.Plugin.slider"
  20. },
  21. "ignoreMomentLocale": true,
  22. "theme": "./src/theme.js",
  23. "hash": true
  24. }