-
Notifications
You must be signed in to change notification settings - Fork 24
/
gatsby-config.js
55 lines (54 loc) · 1.09 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
// Load variables from `.env` as soon as possible
require('dotenv').config({
path: `.env.production`
})
module.exports = {
siteMetadata: {
siteUrl: 'https://queerjs.com'
},
plugins: [
`gatsby-plugin-styled-components`,
'gatsby-plugin-react-helmet',
'gatsby-plugin-robots-txt',
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-webfonts`,
options: {
fonts: {
google: [
{
family: 'Roboto Mono',
variants: ['300', '400', '500']
}
]
}
}
},
{
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.GATSBY_AIRTABLE_KEY,
tables: [
{
baseId: `appXX3u6yUPjqQFrE`,
tableName: `all`,
queryName: `attendees` // optional
}
]
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'data',
name: 'events'
}
},
{
resolve: 'gatsby-transformer-yaml',
options: {
typeName: 'Event'
}
}
]
}