-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
158 lines (155 loc) · 3.81 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
module.exports = {
pathPrefix: '/',
siteMetadata: {
title: "Richard van 't Hof",
description: 'Audiovisual maker & editor',
author: "Richard van 't Hof",
email: '[email protected]',
adress: {
city: 'Rotterdam',
country: 'Netherlands',
},
pgp: 'https://pgp.key-server.io/download/0x1817B960BB405C71',
github: 'https://www.github.com/RichART-Official',
linkedin: 'https://www.linkedin.com/in/richard-van-t-hof/',
behance: 'https://www.behance.net/therichartspace',
bno: 'https://www.bno.nl/partners/richard-van-t-hof-19691',
siteUrl: 'https://www.therichard.space',
repo: 'https://www.github.com/RichART-Official/therichart.space',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'img',
path: `${__dirname}/src/static/img`,
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: `${__dirname}/src/static/icons`,
},
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'work',
path: `${__dirname}/src/content/projects`,
},
},
{
resolve: 'gatsby-plugin-page-creator',
options: {
path: `${__dirname}/src/content/projects`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/pages`,
},
},
'gatsby-transformer-sharp',
'gatsby-transformer-remark',
{
resolve: 'gatsby-plugin-sitemap',
options: {
exclude: ['/draft/*'],
},
},
{
resolve: 'gatsby-plugin-sharp',
options: {
useMozJpeg: false,
stripMetadata: true,
quality: 90,
webpQuality: 90,
pngQuality: 90,
jpegQuality: 90,
maxWidth: 2500,
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://www.therichard.space',
sitemap: 'https://www.therichard.space/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }],
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
// Apply gatsby-mdx to both .mdx and .md files
extensions: ['.mdx', '.md'],
defaultQuality: 100,
maxWidth: 4000,
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 4000,
defaultQuality: 100,
withWebp: true,
},
},
],
},
},
{
resolve: 'gatsby-background-image',
},
'gatsby-plugin-offline',
'gatsby-plugin-transition-link',
'gatsby-image',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'The Richard Space',
short_name: 'Richard Space',
start_url: '/',
background_color: '#F6F6F6',
theme_color: '#D2D7EA',
display: 'minimal-ui',
icon: 'src/static/trademarks/favicon.svg', // This path is relative to the root of the site.
},
},
{
resolve: 'gatsby-plugin-styled-components',
options: {
// Add any options here
},
},
{
resolve: 'gatsby-plugin-sass',
options: {
implementation: require('node-sass'),
},
},
{
resolve: 'gatsby-plugin-hotjar',
options: {
id: 1501492,
sv: 6,
},
},
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|.cache|public)/,
options: {
emitWarning: true,
failOnError: false,
},
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};