generated from veeso-dev/fe-react-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
48 lines (46 loc) · 1.05 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
import type { GatsbyConfig } from 'gatsby';
const config: GatsbyConfig = {
siteMetadata: {
title: `TODO`,
description: `TODO`,
author: 'Christian Visintin',
siteUrl: `TODO`,
},
graphqlTypegen: true,
plugins: [
'gatsby-plugin-webpack-bundle-analyser-v2',
'gatsby-plugin-postcss',
'gatsby-plugin-image',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: './static/favicon-96x96.png',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: './src/pages/',
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// your google analytics tracking id
trackingIds: ['G-TODO'],
gtagConfig: {
anonymize_ip: true,
cookie_expires: 86400 * 7,
},
pluginConfig: {
// Puts tracking script in the head instead of the body
head: false,
},
},
},
],
};
export default config;