-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
88 lines (87 loc) · 2.02 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
const polished = require('polished');
const brandRules = require('@travi/brand');
module.exports = {
siteMetadata: {
title: 'Matt Travi'
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: [
'roboto:300,400,500',
'permanent marker:regular&text=Travi'
],
display: 'swap'
}
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {trackingId: 'UA-2890413-10'}
},
{
resolve: 'gatsby-plugin-webmention',
options: {
username: 'matt.travi.org',
identity: {
github: 'travi',
twitter: 'mtravi'
},
mentions: true,
pingbacks: true,
domain: 'matt.travi.org'
}
},
{
resolve: 'gatsby-plugin-material-ui',
options: {
stylesProvider: {injectFirst: true}
}
},
'gatsby-plugin-emotion',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Travi.org',
short_name: 'Travi',
description: 'Matt Travi',
lang: 'en',
start_url: '/',
display: 'minimal-ui',
theme_color: polished.rgb(brandRules.colors['brand-palette']['dark-red']),
icon: 'node_modules/@travi/brand/dist/img/square-logo.svg'
}
},
// {
// resolve: 'gatsby-plugin-webpack-bundle-analyser-v2',
// options: {
// generateStatsFile: 0 !== process.env.CYPRESS_INSTALL_BINARY,
// analyzerMode: 'disabled',
// openAnalyzer: false,
// disabled: true
// }
// },
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'uses',
path: `${__dirname}/content`
}
},
{
resolve: 'gatsby-plugin-page-creator',
options: {
path: `${__dirname}/content`
}
},
{
resolve: 'gatsby-plugin-mdx',
options: {
defaultLayouts: {
default: require.resolve('./src/components/layout')
}
}
}
]
};