-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
100 lines (100 loc) · 2.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
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
99
100
module.exports = {
flags: {
PRESERVE_WEBPACK_CACHE: true,
FAST_DEV: true,
DEV_SSR: true,
PRESERVE_FILE_DOWNLOAD_CACHE: true,
PARALLEL_SOURCING: true,
},
siteMetadata: {
title: 'Engine',
titleTemplate: `%s | Engine`,
siteUrl: `https://ycu-engine.github.io`,
author: 'ycu-engine',
description: `横浜市立大学公認プログラミングサークルEngineのホームページです`,
url: `https://ycu-engine.github.io`,
image: `/icons/icon-512x512.png`,
twitterUsername: `@ycu_engine`,
keywords: [
'横浜市立大学',
'横市',
'ycu',
'YCU',
'プログラミング',
'サークル',
'プログラミングサークル',
'Engine',
'engine',
'ycu-engine',
],
},
plugins: [
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-alias-imports`,
options: {
alias: { '@': 'src' },
extensions: [],
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: 'images/favicon.png',
},
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-graphql-codegen',
{
resolve: 'gatsby-source-filesystem',
options: {
name: `activity_log`,
path: `${__dirname}/src/data/activity_log`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: `events`,
path: `${__dirname}/src/data/events`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: `meta`,
path: `${__dirname}/src/data/meta`,
},
},
{
resolve: 'gatsby-plugin-mdx',
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/images`,
},
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-postcss`,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ['G-990F70B9NT'],
pluginConfig: {
head: true,
respectDNT: true,
},
},
},
{
resolve: `gatsby-plugin-robots-txt`,
options: {
policy: [{ userAgent: '*', allow: '/' }],
},
},
],
}