-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.ts
58 lines (56 loc) · 1.38 KB
/
gatsby-config.ts
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
import type { GatsbyConfig } from 'gatsby'
const config: GatsbyConfig = {
siteMetadata: {
title: 'Donald Boulton - Dimension V4',
author: 'Donald Boulton',
siteUrl: 'https://donboulton.com',
siteImage: '/static/assets/bg.jpg',
description: 'A Gatsby.js v5 Starter based on Dimension by HTML5 UP',
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/static/assets/`,
name: `assets`,
},
},
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
formats: [`auto`, `webp`],
placeholder: `dominantColor`,
quality: 80,
breakpoints: [750, 1080, 1366, 1920],
backgroundColor: `transparent`,
},
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-image`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'donaldboulton',
short_name: 'Landing Site',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'static/assets/apple-touch-icon.png',
},
},
'gatsby-plugin-sass',
{
resolve: 'gatsby-plugin-offline',
options: {
precachePages: ['/', '/thanks'],
workboxConfig: {
importWorkboxFrom: 'cdn',
},
},
},
],
}
export default config