-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
68 lines (67 loc) · 1.73 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
require("dotenv").config()
module.exports = {
trailingSlash: "never",
siteMetadata: {
title: `Digital Central Starter`,
description: `Kick off a Gatsby project with this Digital Central starter, ships with best packages to get started fast.`,
author: `@michaelserres`,
siteUrl: `https://digitalcentralstarter.gatsbyjs.io`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
formats: [`auto`, `webp`],
placeholder: `dominantColor`,
quality: 50,
},
},
},
// {
// resolve: `gatsby-plugin-google-gtag`,
// options: {
// trackingIds: [process.env.GATSBY_GTM_ID],
// gtagConfig: {
// // optimize_id: process.env.GATSBY_OPTIMIZE_ID,
// anonymize_ip: true,
// cookie_expires: 0,
// },
// pluginConfig: {
// head: true,
// respectDNT: true,
// },
// },
// },
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `digital-central-starter`,
short_name: `DC Starter`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#ffffff`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`,
},
},
// {
// resolve: `gatsby-plugin-canonical-urls`,
// options: {
// siteUrl: `https://axieinfinity-companion.com`,
// },
// },
`gatsby-plugin-image`,
`gatsby-plugin-postcss`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-gatsby-cloud`,
],
}