-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
47 lines (42 loc) · 1.13 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
const {verbose_name} = require('./package.json');
module.exports = {
transpileDependencies: [
'vuetify'
],
pwa: {
name: verbose_name,
manifestPath: 'static/icons/manifest.json',
iconPaths: {
favicon32: 'static/icons/favicon-32x32.png',
favicon16: 'static/icons/favicon-16x16.png',
appleTouchIcon: 'static/icons/apple-icon-152x152.png',
maskIcon: 'static/icons/apple-icon-152x152.png',
msTileImage: 'static/icons/ms-icon-144x144.png',
},
themeColor: '#1E88E5',
msTileColor: '#2B5797',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
workboxOptions: {
swDest: 'static/js/service-worker.js',
importsDirectory: 'static/js/',
},
},
outputDir: undefined,
assetsDir: 'static',
runtimeCompiler: undefined,
productionSourceMap: undefined,
parallel: undefined,
css: undefined,
chainWebpack: config => {
config
.plugin('html')
.tap(args => {
args[0].title = verbose_name;
return args;
})
},
configureWebpack: {
devtool: 'source-map'
}
}