-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
79 lines (78 loc) · 1.78 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
require('dotenv').config()
module.exports = {
siteMetadata: {
geolocation: `122999d8974e4f90b1ce826a58bfc283`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-transformer-remark`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `mocoloco`,
short_name: `mocoloco`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
},
},
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/style/typography`,
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.MOCOLOCO_CONTENTFUL_SPACE_ID,
accessToken: process.env.MOCOLOCO_CONTENTFUL_TOKEN,
},
},
`gatsby-transformer-geojson-outline`,
`gatsby-plugin-emotion`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `outlines`,
path: `${__dirname}/src/data/outlines/`,
ignore: [`**/**.js`],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/images`,
ignore: [`**/**.*`],
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `#056DD4`,
showSpinner: false,
},
},
{
resolve: 'gatsby-plugin-react-leaflet',
options: {
linkStyles: true,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-146837376-1',
head: false,
anonymize: true,
respectDNT: true,
cookieDomain: 'mocoloco.org',
},
},
],
}