-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
104 lines (104 loc) · 2.44 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
101
102
103
104
module.exports = {
trailingSlash: 'never',
plugins: [
{
resolve: 'gatsby-plugin-styled-components',
},
'gatsby-transformer-sharp',
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 400,
quality: 100,
withWebp: true,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Blair Nangle',
short_name: 'Blair Nangle',
start_url: '/',
icon: 'static/favicon.ico',
},
},
{
resolve: 'gatsby-remark-autolink-headers',
},
{
resolve: 'gatsby-remark-prismjs',
},
{
resolve: 'gatsby-remark-smartypants',
},
{
resolve: 'gatsby-remark-copy-linked-files',
options: {
ignoreFileExtensions: [],
},
},
{
resolve: 'gatsby-plugin-disqus',
options: {
shortname: 'blairnangle-dot-com',
},
},
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: `${__dirname}/src/pages/`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'blogPosts',
path: `${__dirname}/src/content/posts/blog`,
},
},
{
resolve: 'gatsby-plugin-nprogress',
options: {
color: '#0000ff',
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'G-5PX1SLEFWG',
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.md', '.mdx'],
defaultLayouts: {
default: require.resolve('./src/components/Layout.jsx'),
},
gatsbyRemarkPlugins: [
{ resolve: 'gatsby-remark-autolink-headers' },
{ resolve: 'gatsby-remark-prismjs', options: {} },
{ resolve: 'gatsby-remark-smartypants' },
{
resolve: 'gatsby-remark-images',
},
],
plugins: ['gatsby-remark-images', 'gatsby-plugin-sharp'],
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-124521773-1',
},
},
],
};