forked from visiky/resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
44 lines (44 loc) · 1.09 KB
/
gatsby-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
module.exports = {
pathPrefix: '/resume',
siteMetadata: {
title: 'Resume Generator',
githubUrl: 'https://github.com/visiky/resume.git',
author: 'visiky',
contact: 'https://github.com/visiky',
},
flags: {
DEV_SSR: false,
},
plugins: [
{
// https://developers.google.com/analytics/devguides/collection/gtagjs?hl=zh-cn
resolve: `gatsby-plugin-google-gtag`,
options: {
// The property ID; the tracking code won't be generated without it
trackingIds: ['G-2K3PH6MKBG'],
},
},
{
resolve: 'gatsby-plugin-antd',
options: {
style: true,
},
},
{
resolve: 'gatsby-plugin-less',
options: {
strictMath: true,
lessOptions: {
javascriptEnabled: true,
modifyVars: {
'font-family': 'roboto-regular',
'primary-color': '#2f5785',
},
},
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};