-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
57 lines (57 loc) · 1.37 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
// eslint-disable-next-line no-unused-vars
module.exports = ({ contentPath = 'src/content', basePath = '/' }) => ({
siteMetadata: {
title: 'Game Master\'s Campaign Manager',
shortTitle: 'GMCM',
description: '',
},
plugins: [
'gatsby-transformer-sharp', 'gatsby-plugin-sharp', 'gatsby-plugin-image', 'gatsby-plugin-react-helmet', 'gatsby-plugin-mdx',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: contentPath,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
// Served from theme directly.
name: 'defaultComponents',
path: `${__dirname}/src/components`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
// Served from theme directly.
name: 'defaultContent',
path: `${__dirname}/src/content`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
// Served from theme directly.
name: 'images',
path: `${__dirname}/src/images/`,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
// Served from theme directly.
icon: `${__dirname}/src/images/icon.png`,
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images/,
},
},
},
],
});