forked from primer/design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
38 lines (37 loc) · 827 Bytes
/
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
const path = require('path')
module.exports = {
siteMetadata: {
title: 'Primer',
header: {
title: 'Primer Design System'
},
// Remove short name from site header
shortName: '',
description: 'Principles, standards, and usage guidelines for designing GitHub interfaces.',
},
pathPrefix: '/design',
plugins: [
{
resolve: '@primer/gatsby-theme-doctocat',
options: {
defaultBranch: 'main',
},
},
{
resolve: 'gatsby-plugin-alias-imports',
options: {
alias: {
react: path.resolve(__dirname, 'node_modules', 'react'),
'~': path.resolve(__dirname),
},
},
},
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-svgr',
options: {
svgo: false,
},
},
],
}