generated from markfknight/gatsby-blog-typescript-jest-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
109 lines (108 loc) · 3.29 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
// [GitHub Pages](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/how-gatsby-works-with-github-pages/)
// pathPrefix: `/gatsby-blog-typescript-jest-tailwind`,
siteMetadata: {
title: `Electric Sheep`,
author: `markfknight`,
description: `Do Androids dream of electric sheep?`,
siteUrl: `https://markfknight.dev/`,
social: {
twitter: `markfknight`,
},
},
jsxRuntime: 'automatic',
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Do Androids dream of electric sheep?`,
short_name: `Eletric Sheep`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#663399`,
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
display: `minimal-ui`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `src`,
path: `${__dirname}/src/`,
},
},
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-vscode`,
options: {
theme: 'Monokai Operator', // Or install your favorite theme from GitHub
extensions: ['monokai-operator-theme'],
inlineCode: {
marker: '•',
},
},
},
{
resolve: `gatsby-remark-images`,
options: {
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 620,
withWebp: true,
wrapperStyle: `margin-bottom: 1.0725rem;`,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem;`,
},
},
{
resolve: `gatsby-remark-smartypants`,
options: {
dashes: 'oldschool',
},
},
{
resolve: `gatsby-remark-katex`,
options: {
// Add any KaTeX options from https://github.com/KaTeX/KaTeX/blob/master/docs/options.md here
strict: `ignore`,
},
},
`gatsby-remark-external-links`,
],
},
},
// add your brave token and domain to enable [Brave Rewards](https://publishers.basicattentiontoken.org/)
{
resolve: 'gatsby-plugin-verify-brave',
options: {
token:
'fb8627615739081c29044d9499f5c20cc122f31b3577ad47f336fcfc3796571c',
domain: 'markfknight.dev',
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-postcss`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-sitemap`,
'gatsby-redirect-from',
'gatsby-plugin-meta-redirect',
],
};