-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
51 lines (50 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
46
47
48
49
50
51
const config = require('./config');
const {
pathPrefix,
site_img,
siteTitle,
description,
keywords,
skills,
manifestName,
manifestShortName,
manifestBackgroundColor,
manifestDisplay,
manifestStartUrl,
manifestThemeColor,
manifestIcon,
} = config;
module.exports = {
pathPrefix: pathPrefix,
siteMetadata: {
manifestStartUrl,
site_img: site_img,
title: siteTitle,
description: description,
keywords: `${keywords} ${skills}`,
},
plugins: [
`@chakra-ui/gatsby-plugin`,
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: manifestName,
short_name: manifestShortName,
start_url: pathPrefix || manifestStartUrl,
background_color: manifestBackgroundColor,
theme_color: manifestThemeColor,
display: manifestDisplay,
icon: manifestIcon, // This path is relative to the root of the site.
},
},
'gatsby-plugin-sass',
'gatsby-plugin-offline',
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-149833401-1',
},
},
],
};