-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgatsby-config.js
More file actions
59 lines (56 loc) · 1.35 KB
/
gatsby-config.js
File metadata and controls
59 lines (56 loc) · 1.35 KB
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
const connectionString =
process.env.CONFERENCES_DB_CONNECTIONSTRING ||
'postgres://postgres@localhost:5432/postgres'
const disqusKey = process.env.CONFERENCES_DISQUS_KEY || 'gatsby-starter-blog'
module.exports = {
siteMetadata: {
title: 'findTech.events',
author: 'Coding Blocks',
authorLink: 'https://github.com/codingblocks',
disqus: disqusKey
},
plugins: [
// Source Plugins
{
resolve: 'gatsby-source-filesystem',
name: 'Basic Pages',
options: {
path: `${__dirname}/src/pages`,
name: 'pages'
}
},
{
resolve: 'gatsby-source-filesystem',
name: 'Examples',
options: {
path: `${__dirname}/src/examples`,
name: 'examples'
}
},
{
resolve: 'gatsby-source-pg',
options: {
connectionString: connectionString,
schema: 'public'
}
},
// Transform Plugins
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: ['gatsby-remark-prismjs', 'gatsby-remark-copy-linked-files']
}
},
'gatsby-transformer-json',
// Miscellaneous plugins
'gatsby-plugin-offline',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-sass',
options: {
includePaths: [`${__dirname}/node_modules`, `${__dirname}/src/`],
precision: 8
}
}
]
}