-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
79 lines (79 loc) · 1.61 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
74
75
76
77
78
79
module.exports = {
siteMetadata: {
siteUrl: "https://www.yourdomain.tld",
title: "Welcome to my site",
},
plugins: [
"gatsby-plugin-sass",
"gatsby-plugin-gatsby-cloud",
"gatsby-plugin-image",
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ["G-50ZWJ85Q0M"],
pluginConfig: {
head: false,
respectDNT: true,
exclude: ["/preview/**"],
},
},
},
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
icon: "src/assets/images/icon.png",
},
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/assets/images/",
},
__key: "images",
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/pages/",
},
__key: "pages",
},
{
resolve: `gatsby-plugin-typescript`,
options: {
isTSX: true,
jsxPragma: `jsx`,
allExtensions: true,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `blog`,
path: `${__dirname}/src/blog/`,
},
},
`gatsby-plugin-mdx`,
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/`,
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /assets/,
},
},
},
],
};