forked from visiky/resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
45 lines (45 loc) · 1.12 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
45
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, Arial',
'primary-color': '#2f5785',
},
},
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
'gatsby-plugin-pnpm',
],
};