forked from pegasystems/uplus-wss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
100 lines (99 loc) · 3.01 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
const ImageminPlugin = require('imagemin-webpack-plugin').default;
module.exports = {
outputDir: 'docs',
productionSourceMap: false,
publicPath: process.env.NODE_ENV === 'production' ? '../' : '/',
configureWebpack: {
plugins: [
new ImageminPlugin({
disable: process.env.NODE_ENV !== 'production',
}),
],
},
pwa: {
workboxPluginMode: 'InjectManifest',
workboxOptions: {
swSrc: 'src/service-worker.js',
exclude: [/\.jpg$/, /\.png$/],
},
},
pages: {
commercial_bank: {
entry: 'src/main.js',
template: 'public/commercial_bank/index.html',
filename: 'commercial_bank/index.html',
title: 'U+ Commercial Bank',
chunks: ['chunk-vendors', 'chunk-common', 'commercial_bank'],
},
retail_bank: {
entry: 'src/main.js',
template: 'public/retail_bank/index.html',
filename: 'retail_bank/index.html',
title: 'U+ Retail Bank',
chunks: ['chunk-vendors', 'chunk-common', 'retail_bank'],
},
comms: {
entry: 'src/main.js',
template: 'public/comms/index.html',
filename: 'comms/index.html',
title: 'U+ Comms',
chunks: ['chunk-vendors', 'chunk-common', 'comms'],
},
health_payer: {
entry: 'src/main.js',
template: 'public/health_payer/index.html',
filename: 'health_payer/index.html',
title: 'U+ Health',
chunks: ['chunk-vendors', 'chunk-common', 'health_payer'],
},
health_provider: {
entry: 'src/main.js',
template: 'public/health_provider/index.html',
filename: 'health_provider/index.html',
title: 'U+ Health',
chunks: ['chunk-vendors', 'chunk-common', 'health_provider'],
},
health_care: {
entry: 'src/main.js',
template: 'public/health_care/index.html',
filename: 'health_care/index.html',
title: 'U+ Care',
chunks: ['chunk-vendors', 'chunk-common', 'health_care'],
},
health_pharma: {
entry: 'src/main.js',
template: 'public/health_pharma/index.html',
filename: 'health_pharma/index.html',
title: 'U+ Pharma',
chunks: ['chunk-vendors', 'chunk-common', 'health_pharma'],
},
gov: {
entry: 'src/main.js',
template: 'public/gov/index.html',
filename: 'gov/index.html',
title: 'U+ Gov',
chunks: ['chunk-vendors', 'chunk-common', 'gov'],
},
insurance: {
entry: 'src/main.js',
template: 'public/insurance/index.html',
filename: 'insurance/index.html',
title: 'U+ Insurance',
chunks: ['chunk-vendors', 'chunk-common', 'insurance'],
},
manufacturing: {
entry: 'src/main.js',
template: 'public/manufacturing/index.html',
filename: 'manufacturing/index.html',
title: 'U+ Manufacturing',
chunks: ['chunk-vendors', 'chunk-common', 'manufacturing'],
},
auto: {
entry: 'src/main.js',
template: 'public/auto/index.html',
filename: 'auto/index.html',
title: 'U+ Auto',
chunks: ['chunk-vendors', 'chunk-common', 'auto'],
},
},
};