-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
45 lines (42 loc) · 1013 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
const { CONTENTFUL_SPACE_ID, CONTENTFUL_ACCESS_TOKEN, GATSBY_HASURA_SECRET } = process.env
module.exports = {
siteMetadata: {
locale: "en",
title: `Widget`,
description: `Widget`,
author: `Touchless`,
},
plugins: [
`gatsby-plugin-postcss`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: "gatsby-plugin-load-script",
options: {
src: "https://cdn.statflo.com/scripts/iframeResizer.contentWindow.min.js",
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Widget`,
short_name: `widget`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#3182ce`,
display: `minimal-ui`,
icon: `src/images/icon.png`,
},
},
],
}