-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgatsby-config.js
More file actions
38 lines (37 loc) · 907 Bytes
/
gatsby-config.js
File metadata and controls
38 lines (37 loc) · 907 Bytes
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
require("dotenv").config();
module.exports = {
siteMetadata: {
title: "Shape Portfolio"
},
plugins: [
"gatsby-plugin-react-helmet",
{
resolve: `gatsby-plugin-manifest`,
options: {
name: "Shape Portfolio",
short_name: "portfolio",
start_url: "/",
background_color: "#5439D2",
theme_color: "#5EDEB3",
display: "minimal-ui",
icon: "src/images/takeshape-icon.png"
}
},
{
resolve: "gatsby-source-graphql",
options: {
typeName: "TS",
fieldName: "takeshape",
url: `https://api.takeshape.io/project/${
process.env.TAKESHAPE_PROJECT
}/graphql`,
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.TAKESHAPE_TOKEN}`
},
fetchOptions: {}
}
},
"gatsby-plugin-offline"
]
};