forked from nelsontky/let-it-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
47 lines (46 loc) · 1.22 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
pathPrefix: "/let-it-go",
plugins: [
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
},
},
{
resolve: "gatsby-source-firestore",
options: {
credential: require("./firebase.json"),
types: [
{
type: "Toilets",
collection: "toilets",
map: doc => {
return {
name: doc.name,
lat: doc.lat,
lon: doc.lon,
facilities: {
hose: doc.facilities.hose,
showerHeads: doc.facilities.showerHeads,
handicapped: doc.facilities.handicapped,
male: doc.facilities.male,
female: doc.facilities.female,
separateHandicapped: doc.facilities.separateHandicapped,
waterCooler: doc.facilities.waterCooler
},
paranomaUrl: doc.paranomaUrl
}
},
},
],
},
},
`gatsby-plugin-react-helmet`,
],
}