-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.roadhogrc.js
38 lines (37 loc) · 924 Bytes
/
.roadhogrc.js
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
const path = require('path')
export default {
'entry': 'src/index.js',
'disableCSSModules': true,
'theme': './theme.config.js',
'env': {
'development': {
'extraBabelPlugins': [
'dva-hmr',
'transform-runtime',
'transform-decorators-legacy',
['import', {'libraryName': 'antd', 'style': true}]
],
'autoprefixer': {
'browsers': [
'iOS >= 8', 'Android >= 4'
]
}
},
'production': {
'publicPath': 'http://ou77rcnh8.bkt.clouddn.com/nuedc-fe/',
'extraBabelPlugins': [
'transform-runtime',
'transform-decorators-legacy',
['import', {'libraryName': 'antd', 'style': true}]
],
'autoprefixer': {
'browsers': [
'iOS >= 8', 'Android >= 4', 'ie >=9'
]
},
"define": {
"__CDN__": "http://ou77rcnh8.bkt.clouddn.com/nuedc-fe/"
}
}
}
}