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