forked from apollographql/principled-graphql
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
46 lines (46 loc) · 961 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
39
40
41
42
43
44
45
46
module.exports = {
__experimentalThemes: [
{
resolve: 'gatsby-theme-apollo',
options: {
root: __dirname
}
}
],
siteMetadata: {
title: 'GraphQL 开发原则',
description: '实现和扩展数据图的最佳实践'
},
plugins: [
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-74643563-15'
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/content`,
name: 'content'
}
},
{
resolve: 'gatsby-transformer-remark',
options: {
excerpt_separator: '<!-- end -->',
plugins: [
'gatsby-remark-autolink-headers',
{
resolve: 'gatsby-remark-images',
options: {
linkImagesToOriginal: false
}
}
]
}
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp'
]
};