.webpackrc 455 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"
  },
jim's avatar
jim committed
19
  "publicPath": "/",
偏右's avatar
偏右 committed
20
  "disableDynamicImport": true,
21
  "hash": true
22
}