-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
43 lines (42 loc) · 940 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
const path = require(`path`)
const isProduction = process.env.NODE_ENV === 'production'
module.exports = {
siteMetadata: {
title: `svrgnty`,
siteUrl: `https://svrgnty.com`
},
plugins: [
{
resolve: `gatsby-plugin-robots-txt`,
options: {
sitemap: 'https://svrgnty.com/sitemap-index.xml',
},
},
{
resolve: `gatsby-plugin-sitemap`,
options: {
output: '/',
},
},
`gatsby-plugin-sass`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: path.join(__dirname, `data`),
},
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-transformer-json`,
{
resolve: `gatsby-plugin-goatcounter`,
options: {
code: isProduction ? 'svrgnty' : 'svrgnty-dev',
allowLocal: !isProduction,
pixel: true,
},
},
],
}