-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
48 lines (47 loc) · 996 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
46
47
48
if (process.env.NODE_ENV !== "production") {
require("dotenv").config();
}
module.exports = {
siteMetadata: {
title: "Will Harris website dawg",
},
plugins: [
"gatsby-plugin-sass",
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/pages`,
name: "pages",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/src/img`,
name: "images",
},
},
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [],
},
},
{
resolve: "gatsby-plugin-decap-cms",
options: {
modulePath: `${__dirname}/src/cms/cms.js`,
manualInit: true,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-450199-43",
head: true,
respectDNT: true,
},
},
"gatsby-plugin-netlify", // make sure to keep it last in the array
],
};