forked from dvajs/dva-example-user-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.roadhogrc
41 lines (41 loc) Β· 800 Bytes
/
.roadhogrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"entry": "src/index.js",
"disableCSSModules": false,
"publicPath": "/",
"theme": {
"@primary-color": "#1DA57A",
"@link-color": "#1DA57A",
"@border-radius-base": "2px",
"@font-size-base": "16px",
"@line-height-base": "1.2"
},
"autoprefixer": null,
"proxy": {
"/api": {
"target": "http://jsonplaceholder.typicode.com/",
"changeOrigin": true,
"pathRewrite": { "^/api" : "" }
}
},
"extraBabelPlugins": [
"transform-runtime",
["import", { "libraryName": "antd", "style": true }]
],
"env": {
"development": {
"extraBabelPlugins": [
"dva-hmr"
]
}
},
"xdllPlugin": {
"exclude": [
"babel-runtime"
],
"include": [
"dva/router",
"dva/saga",
"dva/fetch"
]
}
}