forked from isfe-team/admin-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
39 lines (38 loc) · 892 Bytes
/
vue.config.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
39
/*!
* see https://cli.vuejs.org/guide/
*/
module.exports = {
devServer: {
host: 'localhost',
port: 8081,
proxy: {
'/api': {
target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro',
ws: false,
changeOrigin: true
}
}
},
baseUrl: '/',
lintOnSave: true,
pages: {
app: {
entry: 'src/entries/index/index.js',
template: 'src/entries/index/index.html',
filename: 'index.html',
title: 'seed-project',
chunks: ['chunk-vendors', 'chunk-common', 'app']
},
login: {
entry: 'src/entries/login/login.js',
template: 'src/entries/login/login.html',
filename: 'login.html',
title: 'login',
chunks: ['chunk-vendors', 'chunk-common', 'login']
}
},
filenameHashing: true,
runtimeCompiler: false,
transpileDependencies: [ ],
integrity: false
}