-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
57 lines (57 loc) · 1.41 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
/**
* @type {import('gatsby').GatsbyConfig}
*/
module.exports = {
siteMetadata: {
title: `Sidecar`,
siteUrl: `https://sidecar.us`,
description: 'A curated collection of cocktails for the home bartender',
author: '@keithjgrant',
},
plugins: [
'gatsby-plugin-styled-components',
'gatsby-plugin-catch-links',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-transformer-remark',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: './src/pages/',
},
__key: 'pages',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/images/',
},
__key: 'pages',
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Sidecar',
short_name: 'Sidecar',
description: 'A curated collection of cocktails',
start_url: '/',
background_color: '#413d40',
theme_color: '#f4b071',
display: 'standalone',
icon: 'src/images/icon.png',
crossOrigin: 'use-credentials',
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
{
resolve: 'gatsby-plugin-offline',
options: {
precachePages: ['/drinks/', '/drinks/*'],
},
},
'gatsby-plugin-netlify',
],
};