-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.webpackrc.js
More file actions
33 lines (30 loc) · 802 Bytes
/
.webpackrc.js
File metadata and controls
33 lines (30 loc) · 802 Bytes
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
export default {
"extraBabelPlugins": [
["import", { "libraryName": "antd", "libraryDirectory": "es", "style": true }],
],
disableCSSModules: true,
hash:true,
"alias":{
"Loopring":`${__dirname}/src/common/Loopring`,
"Loopr":`${__dirname}/src/components/common`
},
"theme": {
"@font-family-no-number" : "Roboto ,PingFang SC",
"@font-family" : "@font-family-no-number",
"@primary-color": "#0077FF",
"@link-color": "#0077FF",
"@border-radius-base": "0px",
"@line-height-base" : 1.6,
"@normal-color" :"#eee",
"@border-color-base" : "hsv(0, 0, 90%)",
},
"html": {
"template": "./public/index.ejs",
"favicon": './src/assets/images/favicon.ico'
},
env: {
development: {
extraBabelPlugins: ['dva-hmr'],
},
},
}