-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
63 lines (61 loc) · 1.36 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
59
60
61
62
63
import type { GatsbyConfig } from 'gatsby'
const config: GatsbyConfig = {
siteMetadata: {
title: 'Fűzy Gábor',
},
trailingSlash: 'always',
plugins: [
'gatsby-plugin-sass',
'gatsby-plugin-offline',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-netlify',
'gatsby-plugin-graphql-codegen',
{
resolve: 'gatsby-plugin-svgr-loader',
options: {
rule: {
include: /assets/,
},
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data/`,
ignore: [`**/.*`], // ignore files starting with a dot
},
},
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/`,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Fűzy Gábor',
short_name: 'Fűzy Gábor',
start_url: '/',
background_color: '#fff',
theme_color: '#5e2e2d',
display: 'standalone',
icon: 'src/images/favicon-192x192.png',
},
},
{
resolve: 'gatsby-plugin-google-gtag',
options: {
trackingIds: ['G-QE9MJ6MV2Q'],
gtagConfig: {
anonymize_ip: true,
},
},
},
],
}
export default config