-
Notifications
You must be signed in to change notification settings - Fork 8
/
gatsby-config.ts
80 lines (75 loc) · 2.03 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { GatsbyConfig } from 'gatsby';
const config: GatsbyConfig = {
siteMetadata: {
siteUrl: 'https://awesome-gatsby-starter.netlify.app',
defaultSeo: {
title: 'Awesome Gatsby Starter',
description: '👌 A starter for Gatsby 4 with TypeScript, Chakra UI, ESLint and Prettier.',
keywords: ['gatsby'],
},
pageTitleSeparator: ' • ',
},
graphqlTypegen: true,
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Awesome Gatsby Starter',
short_name: 'Awesome Gatsby Starter',
display: 'standalone',
icon: 'static/icon.png',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
},
},
/**
* If you want to use Google analytics, you will need to install it
* with `npm i gatsby-plugin-google-analytics` and then uncomment the
* config below.
*
* @see https://www.gatsbyjs.com/plugins/gatsby-plugin-google-analytics
*/
// {
// resolve: 'gatsby-plugin-google-analytics',
// options: {
// trackingId: 'UA-...',
// },
// },
/**
* If you want to use Google tag manager, you will need to install it
* with `npm i gatsby-plugin-google-tagmanager` and then uncomment the
* config below.
*
* @see https://www.gatsbyjs.com/plugins/gatsby-plugin-google-tagmanager
*/
// {
// resolve: 'gatsby-plugin-google-tagmanager',
// options: {
// id: 'GTM-...',
// defaultDataLayer: { platform: 'gatsby' },
// },
// },
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/assets/',
},
__key: 'images',
},
'gatsby-plugin-remove-generator',
'gatsby-plugin-sitemap',
{
resolve: '@chakra-ui/gatsby-plugin',
options: {
resetCSS: true,
isUsingColorMode: true,
},
},
],
};
export default config;