-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
37 lines (36 loc) · 875 Bytes
/
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
const config = require("./src/config");
module.exports = {
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-react-svg`,
options: {
rule: {
include: /images/
}
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: config.title,
short_name: config.title,
start_url: `/`,
background_color: config.mainColor,
theme_color: config.mainColor,
display: `standalone`,
icon: `src/images/freebies-hunt-logo.svg`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: ` UA-126718538-4`,
head: true,
anonymize: true,
}
},
'gatsby-plugin-offline',
],
}