.webpackrc 402 Bytes
Newer Older
1 2
{
  "entry": "src/index.js",
Wei Zhu's avatar
Wei Zhu committed
3 4 5 6
  "extraBabelPlugins": [
    "transform-decorators-legacy",
    ["import", { "libraryName": "antd", "libraryDirectory": "es", "style": true }]
  ],
7 8 9
  "env": {
    "development": {
      "extraBabelPlugins": [
Wei Zhu's avatar
Wei Zhu committed
10
        "dva-hmr"
11 12 13
      ]
    }
  },
14
  "ignoreMomentLocale": true,
15
  "theme": "./src/theme.js",
16 17 18
  "html": {
    "template": "./src/index.ejs"
  },
19
  "hash": true
20
}