-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathgatsby-config.js
52 lines (51 loc) · 1.23 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
const path = require('path')
module.exports = {
siteMetadata: {
title: 'Primer Design System',
header: {
title: 'Primer',
url: 'https://primer.style',
logoUrl: 'https://primer.style',
},
shortName: '',
description: 'The design system that powers GitHub',
imageUrl: 'https://user-images.githubusercontent.com/10384315/53922681-2f6d3100-402a-11e9-9719-5d1811c8110a.png',
},
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: require.resolve('./src/icons/favicon-192.png'),
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.md', '.mdx'],
defaultLayouts: {
default: require.resolve('./src/components/Layout.js'),
},
},
},
'gatsby-plugin-sass',
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-svgr',
options: {
svgo: false,
},
},
'gatsby-plugin-react-helmet',
'gatsby-transformer-yaml',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: path.resolve('./src/pages'),
layout: 'default',
},
},
// note: this must go last
'gatsby-plugin-meta-redirect',
],
}