-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
80 lines (79 loc) · 2.1 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
jsxRuntime: "automatic",
siteMetadata: {
siteUrl: 'https://dan-mba.github.io'
},
flags: {
PARTIAL_HYDRATION: false
},
trailingSlash: 'always',
plugins: [
{
resolve: 'repos-source-plugin',
options: {
githubUserId: 'dan-mba',
githubUserToken: process.env.GITHUB_TOKEN,
portfolioLanguages: ['JavaScript','Vue','Python','TypeScript']
}
},
{
resolve: 'contrib-source-plugin',
options: {
githubUserId: 'dan-mba',
githubUserToken: process.env.GITHUB_TOKEN,
repoFilter: [{owner: 'firstcontributions', name: 'first-contributions'}],
issueFilter: [
{owner: 'gatsbyjs', name: 'gatsby', number: 36192},
{owner: 'microsoft', name: 'playwright', number: 18847},
{owner: 'EddieHubCommunity', name: 'support', number: 5763},
{owner: 'EddieHubCommunity', name: 'EddieHubLive', number: 64},
{owner: 'EddieHubCommunity', name: 'LinkFree', number: 1987},
{owner: 'EddieHubCommunity', name: 'LinkFree', number: 2052},
{owner: 'AccessibleForAll', name: 'Support', number: 422}
]
}
},
{
resolve: 'gatsby-plugin-sitemap',
options: {
output: '/',
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: "images",
path: `${__dirname}/static/img`
}
},
`gatsby-plugin-image`,
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: `gatsby-theme-material-ui`,
options: {
webFontsConfig: {
fonts: {
google: [
{
family: "Damion",
variants: ["400"],
text: 'Dan',
strategy: 'base64',
},
{
family: "Roboto",
variants: ["300", "400", "500"],
},
],
},
formats: ["woff2"],
},
},
},
//'gatsby-plugin-webpack-bundle-analyser-v2'
],
};