-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
72 lines (72 loc) · 1.68 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
67
68
69
70
71
72
module.exports = {
siteMetadata: {
siteUrl: 'https://couper.io',
title: 'couper.io',
},
proxy: {
prefix: '/api',
url: 'http://localhost:4080',
},
plugins: [
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-google-gtag',
options: {
trackingIds: ['G-PH17X7VL05'],
gtagConfig: {
send_page_view: true,
},
},
},
'gatsby-plugin-sharp',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'couper.io',
short_name: 'couper.io',
start_url: '/',
background_color: '#fff',
theme_color: '#65B32E',
display: 'standalone',
icon: 'src/assets/images/icon.png',
legacy: false, // no apple-touch
include_favicon: false, // This will exclude favicon link tag
crossOrigin: 'use-credentials',
},
},
'gatsby-transformer-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/assets/images/',
},
__key: 'images',
},
{
resolve: 'gatsby-plugin-layout',
options: {
component: require.resolve('./src/layout/Frame/index.jsx'),
},
},
{
resolve: 'gatsby-plugin-i18n',
options: {
langKeyDefault: 'en',
langKeyForNull: 'en',
prefixDefault: true,
useLangKeyLayout: false,
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://couper.io',
sitemap: 'https://couper.io/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }],
},
},
],
}