-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
39 lines (36 loc) · 912 Bytes
/
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
// https://github.com/neutrinojs/webpack-chain
module.exports = {
pwa: {
themeColor: '#3B283B',
name: 'DEADBOLT Mods: DCP + DECP',
msTileColor: '#3B283B',
workboxOptions: {
exclude: [
/\.htaccess$/,
/\.css\.map/
]
},
},
chainWebpack(config)
{
// Markdown
config.module.rule('md')
.test(/\.md$/)
.use('vue-loader')
.loader('vue-loader')
.end()
.use('@vusion/md-vue-loader')
.loader('@vusion/md-vue-loader')
.end();
// Meta, used in index.html template
config.plugin( 'html' ).tap( args =>
{
args[0].title = 'DEADBOLT Mods: DCP + DECP'
args[0].description = 'Massive updates to the 2016 game DEADBOLT and its level editor, with new features and options.'
args[0].homeUrl = 'https://deadbolt.codemuffin.com'
// args[0].ogImagePath = '/img/og-logo-wide.png'
args[0].ogImagePath = '/img/og-logo-wide-v2.png'
return args
});
},
};