forked from evilfactorylabsarchive/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgridsome.config.js
More file actions
38 lines (37 loc) · 840 Bytes
/
gridsome.config.js
File metadata and controls
38 lines (37 loc) · 840 Bytes
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
class extractor {
static extract (content) {
return content.match(/[A-z0-9-:\/]+/g) || []
}
}
module.exports = {
siteName: 'evilfactory: The Web Technologies tinkerer team',
siteDescription: 'we are tinkering with modern web technologies. Believe in OSS and speak JavaScript both on frontend and backend',
siteUrl: 'https://evilfactory.id',
titleTemplate: '%s',
transformers: {
remark: {
plugins: [
'@gridsome/remark-prismjs'
]
}
},
plugins: [
{
use: 'gridsome-plugin-purgecss',
options: {
content: [
'./src/**/*.vue',
'./src/**/*.js'
],
extractor: extractor,
extensions: ['vue', 'js']
}
},
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-126921948-1'
}
}
]
}