-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
88 lines (88 loc) · 2.19 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
module.exports = {
siteMetadata: {
title: 'CMSClubs',
keywords: ['CSEC', 'Computer Science Enrichment Club', 'AMACSS', 'UTSC', 'cs', 'UTSC CS', 'UofT CS', 'University of Toronto', 'Scarborough', 'Computer Science'],
description: 'Your gateway to all things Computer Science, Statistics, and Mathematics at UTSC student CMS clubs.',
author: 'Computer Science Enrichment Club'
},
plugins: [
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-react-helmet',
'gatsby-transformer-json',
'gatsby-plugin-layout',
'gatsby-plugin-sass',
`gatsby-plugin-netlify-cms`,
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: [
`Rubik\:400,500`,
`noto sans\:500,600`
],
display: 'swap'
}
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images/,
exclude: /node_modules/
}
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: `${__dirname}/src/data`
}
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: './src/images/Logo.png'
}
},
{
resolve: 'gatsby-plugin-module-resolver',
options: {
aliases: {
'@components': './src/components',
'@util': './src/util',
'@sections': './src/components/pages',
'@styles': './src/styles',
'@images': './src/images'
}
}
},
{
resolve: 'gatsby-plugin-webpack-bundle-analyzer',
options: {
analyzerPort: 8001,
production: true
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// replace "UA-XXXXXXXXX-X" with your own Tracking ID
trackingId: "UA-112733614-3",
},
},
]
}