-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
66 lines (66 loc) · 1.87 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
module.exports = {
pathPrefix: '/bytecode-website',
siteMetadata: {
title: `Bytecode Digital Agency`,
description: `The Bytecode Digital Agency website, made in GatsbyJS`,
author: `@bytecodebv`,
siteUrl: 'https://bytecode.nl',
},
plugins: [
{
resolve: `gatsby-plugin-mdx`,
extensions: ['.mdx'],
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-sharp`,
options: {
useMozJpeg: false,
stripMetadata: true,
defaultQuality: 75,
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1000,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `bytecode-digital-agency`,
short_name: `bytecode`,
start_url: `/`,
background_color: `#23be87`,
theme_color: `#23be87`,
display: `minimal-ui`,
icon: `src/images/icons/icon-512x512.png`,
},
},
{
resolve: `gatsby-plugin-sitemap`,
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
policy: [{ userAgent: '*', allow: '/' }],
},
},
{
resolve: `gatsby-plugin-styled-components`,
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: 'posts',
path: `${__dirname}/content/posts/`,
},
},
`gatsby-plugin-offline`,
// this (optional) plugin enables Progressive Web
// App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// 'gatsby-plugin-offline',
],
};