-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvue.config.js
101 lines (98 loc) · 2.46 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
101
process.env.VUE_APP_VERSION = require('./package.json').version;
const SitemapPlugin = require('sitemap-webpack-plugin').default;
const paths = [
{
path: '#/',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/contribute',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/changelog',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/anemos',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/anemos/editor',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/pagos',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/pagos/editor',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/pyros',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/pyros/editor',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/hydatos',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/hydatos/editor',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/bozjansouthernfront',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
{
path: '#/bozjansouthernfront/editor',
lastmod: new Date().toISOString().slice(0, 10),
priority: '0.8',
changefreq: 'daily'
},
];
module.exports = {
publicPath: '/',
css: {
extract: true
},
configureWebpack: {
plugins: [
new SitemapPlugin('https://www.ffxiv-interactive-eureka-maps.com', paths, {
filename: 'sitemap.xml',
lastmod: true,
changefreq: 'daily',
priority: '0.8'
})
]
}
}