/
gatsby-config.js
41 lines (41 loc) · 1.04 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
module.exports = {
siteMetadata: {
title: `Simple Event App`,
description: `Simple event/booking with authentication with GraphQL Backend and MongoDB`,
author: `@gatsbyjs`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-netlify`,
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|.cache|public)/,
stages: ['develop'],
options: {
emitWarning: true,
failOnError: false
}
}
},
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Gatsby Events`,
short_name: `GatsbyEvents`,
start_url: `/`,
background_color: `#f7f0eb`,
theme_color: `#663399`,
display: `standalone`,
icon: `src/images/icon.png`,
crossOrigin: `use-credentials`,
},
},
//enables PWA Offline functionality
`gatsby-plugin-offline`,
],
}