-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
52 lines (52 loc) · 1.25 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
52
module.exports = {
plugins: [
`gatsby-env-variables`,
`gatsby-alias-imports`,
`gatsby-optional-chaining`,
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-provide-react`,
`gatsby-plugin-dynamic-routes`,
{
resolve: `gatsby-plugin-page-creator`,
options: {
path: `${__dirname}/src/pages`,
ignore: {
patterns: [`**/*`],
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `HackCovid`,
short_name: `HackCovid`,
start_url: `/`,
background_color: `#FFF`,
theme_color: `#980001`,
display: `minimal-ui`,
icon: `static/images/favicon16.png`,
},
},
{
resolve: `gatsby-plugin-sass`,
options: {
includePaths: [__dirname + '/src/styles'],
data: '@import "./src/styles/internal";',
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-173763785-1",
head: true,
exclude: ["/preview/**", "/do-not-track/me/too/"],
pageTransitionDelay: 0,
defer: true,
sampleRate: 5,
siteSpeedSampleRate: 10,
cookieDomain: "hackcovid.com.br",
},
},
],
}