-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
37 lines (36 loc) · 898 Bytes
/
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
const site = require('./src/data/site').default;
const theme = require('./src/data/theme').default;
module.exports = {
siteMetadata: site,
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
name: site.title,
short_name: site.shortTitle,
start_url: '/',
background_color: theme.colors.blue,
theme_color: theme.colors.blue,
display: 'standalone',
icon: 'src/images/favicon.svg',
},
},
{
resolve: 'gatsby-plugin-nprogress',
options: {
color: theme.colors.orange,
showSpinner: false,
},
},
'gatsby-plugin-offline',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-styled-components',
options: {
displayName: process.env.NODE_ENV !== 'production',
},
},
'gatsby-plugin-svgr',
],
};