-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
95 lines (92 loc) · 2.25 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
const SiteMap = require('sitemap-webpack-plugin').default
class Path {
constructor({ path, priority = '1' }) {
this.path = path
this.lastmod = new Date().toISOString().replace(/\..+/, ''),
this.priority = priority
}
}
const paths = [
new Path({
path: 'https://campeoesdoseculo21.netlify.app/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/sobre/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/palmeiras/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/atletico-mg/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/sao-paulo/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/flamengo/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/santos/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/fluminense/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/paysandu/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/internacional/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/paulista/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/corinthians/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/vasco/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/gremio/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/santo-andre/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/sport/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/athletico-pr/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/chapecoense/'
}),
new Path({
path: 'https://campeoesdoseculo21.netlify.app/cruzeiro/'
})
]
module.exports = {
pwa: {
name: 'Campeões do Século 21',
themeColor: '#FFFFFF',
msTileColor: '#000000',
appleMobileWebAppCapable: 'yes',
manifestOptions: {
start_url: 'https://campeoesdoseculo21.netlify.app/'
},
workboxOptions: {
exclude: [
'_redirects'
]
}
},
configureWebpack: {
plugins: [
new SiteMap('https://campeoesdoseculo21.netlify.app', paths, {
filename: 'sitemap.xml',
lastmod: true,
priority: '1'
})
]
}
}