-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.mjs
66 lines (63 loc) · 1.42 KB
/
gatsby-config.mjs
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
import remarkGFM from 'remark-gfm'
import * as dotenv from 'dotenv'
dotenv.config({path: '.env'});
// The top level siteMetadata config is used for Seo garbage, among other stuff
const config = {
siteMetadata: {
title: `loathers.net`,
version: '1.0.1',
siteUrl: `https://www.loathers.net`,
github:`https://github.com/loathers/`,
description: `Modern analysis and scripting advice for Kingdom of Loathing players`,
image:`/images/loathersLogo.png`,
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: `./src/data`,
}
},
"gatsby-plugin-image",
{
resolve: 'gatsby-source-filesystem',
options: {
path: './src/images',
}
},
"gatsby-plugin-sitemap",
{
resolve: 'gatsby-plugin-mdx',
options: {
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1200,
}
}
],
mdxOptions: {
remarkPlugins: [remarkGFM]
}
}
},
"gatsby-plugin-sharp",
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth:600,
}
}
]
}
},
"gatsby-transformer-sharp",
]
};
export default config;