forked from rektbuildr/rekt-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
39 lines (38 loc) · 1.07 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
process.env.VUE_APP_VERSION = process.env.npm_package_version
module.exports = {
productionSourceMap: false,
transpileDependencies: ['vuetify'],
devServer: {
/**
* For e2e testing we turn this off using vue cli --mode e2e
* @link https://cli.vuejs.org/guide/mode-and-env.html#modes
*/
https: !process.env.USE_HTTP,
port: 5000,
},
configureWebpack: {
optimization: {
splitChunks: {
chunks: 'all',
minSize: 600 * 1000,
maxSize: 2000 * 1000,
},
},
resolve: {
symlinks: false,
},
},
pwa: {
name: 'REKT Wallet',
manifestOptions: {
start_url: '/',
},
iconPaths: {
favicon16: 'img/icons/favicon-16x16.png',
favicon32: 'img/icons/favicon-32x32.png',
appleTouchIcon: 'img/icons/apple-touch-icon.png',
maskIcon: 'img/icons/favicon-32x32.png',
msTileImage: 'img/icons/mstile-150x150.png',
},
},
}