-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
31 lines (31 loc) · 879 Bytes
/
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
module.exports = {
siteMetadata: {
title: 'Gatsby Default Starter',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-styled-components',
'gatsby-transformer-json',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: "Truffle Reader",
short_name: "Truffle",
start_url: "/reader",
background_color: "#f7f0eb",
theme_color: "#a2466c",
display: "minimal-ui",
},
}
// The problem here is that GraphQL requires that you specify the field names you want, rather than just returning
// what's in the object. Leaving this here commented out as a reminder that this doesn't work :(
// ,
// {
// resolve: `gatsby-source-filesystem`,
// options: {
// name: `truffles`,
// path: `${__dirname}/public/feed.json`,
// }
// }
],
};