This repository was archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
executable file
·114 lines (113 loc) · 2.77 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
105
106
107
108
109
110
111
112
113
114
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
const config = require('./data/SiteConfig.js');
module.exports = {
siteMetadata: {
title: config.siteTitle,
defaultImage: config.defaultImage,
imageHeight: config.imageHeight,
imageWidth: config.imageWidth,
description: config.siteDescription,
author: config.twitter,
copyright: config.copyright,
blogTitle: config.blogTitle,
blogDescription: config.blogDescription,
blogSummary: config.blogSummary,
language: config.language,
siteUrl: config.siteUrl,
},
plugins: [
'gatsby-plugin-use-query-params',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Mic Drop Website`,
short_name: `Mic Drop`,
start_url: `/`,
background_color: `#000000`,
theme_color: `#ffffff`,
display: `standalone`,
icon: './src/images/favicon.png',
theme_color_in_head: false,
},
},
{
resolve: `gatsby-plugin-layout`,
options: {
component: require.resolve(`./src/components/NautilusWrapper`),
},
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-emotion',
{
resolve: `gatsby-plugin-plausible`,
options: {
domain: `getmicdrop.com`,
},
},
{
resolve: 'gatsby-plugin-sitemap',
options: {
// Exclude specific pages or groups of pages using glob params
// See: https://github.com/isaacs/minimatch
excludes: [],
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-transformer-yaml',
{
resolve: 'gatsby-plugin-mdx',
options: {
defaultLayouts: {
default: require.resolve('./src/components/MDXLayout'),
},
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1280,
},
},
{ resolve: 'gatsby-remark-copy-linked-files' },
{ resolve: 'gatsby-remark-smartypants' },
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images/`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/src/content/`,
ignore: ['**/*.js'],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: `${__dirname}/data/`,
ignore: ['**/*.js'],
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /static/, // See below to configure properly
},
},
},
],
};