-
Notifications
You must be signed in to change notification settings - Fork 7
/
gatsby-config.js
102 lines (101 loc) · 2.38 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: require('./site-meta-data.json'),
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'markdown-pages',
path: `${__dirname}/_data`,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-prismjs',
options: {
classPrefix: 'language-',
inlineCodeMarker: null,
showLineNumbers: true,
noInlineHighlight: true,
},
},
{
resolve: 'gatsby-remark-emojis',
},
{
resolve: 'gatsby-remark-autolink-headers',
},
],
},
},
{
resolve: 'gatsby-plugin-minify',
options: {
removeAttributeQuotes: true,
},
},
{
resolve: 'gatsby-plugin-google-gtag',
options: {
trackingIds: [
'G-3Y4NK60XKL', // Google Analytics / GA
],
pluginConfig: {
head: false,
},
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Delog GatbsyJS Starter',
short_name: 'Delog',
start_url: '/',
background_color: '#fff',
theme_color: '#381696',
display: 'standalone',
icon: 'src/images/logo.png',
},
},
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint:
'https://thecodedose.us13.list-manage.com/subscribe/post?u=19b7830d6c32c9c9d4751d55d&id=6ec0226340&f_id=008ee6e2f0" method="post" id="mc-embedded-subscribe-form',
timeout: 3500,
},
},
{
resolve: 'gatsby-plugin-google-adsense',
options: {
publisherId: 'ca-pub-5235026168912267',
},
},
{
resolve: 'gatsby-plugin-sass',
options: {
cssLoaderOptions: {
esModule: false,
modules: {
namedExport: false,
},
},
},
},
'gatsby-plugin-postcss',
'gatsby-plugin-react-helmet',
'gatsby-plugin-netlify-cms',
'gatsby-plugin-dark-mode',
// siteURL is a must for sitemap generation
'gatsby-plugin-sitemap',
'gatsby-plugin-offline',
],
};