-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
73 lines (73 loc) · 2.36 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
module.exports = {
siteMetadata: {
title: `Scriptly`,
description: `Make your patriarchal blessing look like it was taken right out of the pages of the scriptures.`,
author: `@kbravh`,
siteUrl: `https://scripture.page`
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-monetization`,
options: {
paymentPointer: '$ilp.uphold.com/BfyYUyGBrEgA',
},
},
// the layout must be above the intl plugin so that the IntlProvider wraps the layout
{
resolve: `gatsby-plugin-layout`,
options: {
component: require.resolve(`./src/components/layout.jsx`)
}
},
{
resolve: `gatsby-plugin-intl`,
options: {
// language JSON resource path
path: `${__dirname}/src/intl`,
// supported language
languages: [`en`, `es`],
// language file path
defaultLanguage: `en`,
// option to redirect to `/en` when connecting `/`
redirect: false,
},
},
`gatsby-plugin-sitemap`,
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://scripture.page',
sitemap: 'https://scripture.page/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }]
}
},
{
resolve: "gatsby-plugin-sentry",
options: {
dsn: "https://67e863347a06470ca38859621a7f5830@sentry.io/2877175",
environment: process.env.NODE_ENV,
enabled: (() => ["production"].indexOf(process.env.NODE_ENV) !== -1)()
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-web-font-loader`,
options: {
google: {
families: ['Cormorant Garamond', 'Della Respira']
}
}
},
`gatsby-plugin-remove-serviceworker`
],
}