-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
98 lines (98 loc) · 2.42 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
89
90
91
92
93
94
95
96
97
98
module.exports = {
siteMetadata: {
title: 'Kumasan',
description: 'Kumaの個人ブログ。エンジニアリングからビジネス・デザインなことまで思ったことを様々好き勝手にかくよ',
url: `https://kumaaaaa.com`,
siteUrl: `https://kumaaaaa.com`,
},
plugins: [
`gatsby-plugin-typescript`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-emotion`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/contents/posts`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
commonmark: true,
footnotes: true,
pedantic: true,
gfm: true,
plugins: [
`gatsby-remark-code-titles`,
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: `language-`,
inlineCodeMarker: null,
aliases: {},
noInlineHighlight: false,
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 500,
linkImagesToOriginal: false
}
},
{
resolve: "gatsby-remark-external-links",
options: {
target: "_blank",
rel: "nofollow noopener noreferrer"
}
}
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-postcss`,
options: {
postCssPlugins: [require(`postcss-preset-env`)({ stage: 2, features: { 'nesting-rules': true, } })],
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `kuma`,
short_name: `kuma`,
start_url: `/`,
background_color: `#2c313a`,
theme_color: `#2c313a`,
display: `standalone`,
icon: `src/images/icon-192x192.png`,
},
},
{
resolve: `gatsby-plugin-sitemap`,
options: {
output: `/sitemap.xml`
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-114504071-5"
}
},
`gatsby-plugin-twitter`,
`gatsby-plugin-offline`,
`gatsby-plugin-netlify`,
`gatsby-plugin-feed`,
],
}