-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
95 lines (94 loc) · 2.62 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
require("dotenv").config()
module.exports = {
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://digitalcentralstarterfirebase.gatsbyjs.io`,
},
plugins: [
`gatsby-plugin-mdx`,
`gatsby-plugin-image`,
`gatsby-plugin-postcss`,
`gatsby-plugin-remove-trailing-slashes`,
`gatsby-transformer-sharp`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-gatsby-cloud`,
// {
// resolve: "gatsby-source-graphcms",
// options: {
// endpoint: process.env.GATSBY_GRAPHCMS_ENDPOINT,
// // buildMarkdownNodes: true,
// // downloadLocalImages: true,
// stages: ["PUBLISHED"],
// },
// },
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
formats: [`auto`, `webp`],
placeholder: `dominantColor`,
quality: 50,
},
},
},
{
resolve: `gatsby-plugin-create-client-paths`,
options: { prefixes: [`/app/*`] },
},
// {
// resolve: `gatsby-plugin-firebase`,
// options: {
// credentials: {
// apiKey: process.env.GATSBY_API_KEY,
// authDomain: process.env.GATSBY_AUTH_DOMAIN,
// projectId: process.env.GATSBY_PROJECT_ID,
// storageBucket: process.env.GATSBY_STORAGE_BUCKET,
// messagingSenderId: process.env.GATSBY_MESSAGING_SENDER_ID,
// appId: process.env.GATSBY_APP_ID,
// }
// },
// },
// {
// 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: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`,
},
},
// {
// resolve: `gatsby-plugin-canonical-urls`,
// options: {
// siteUrl: `https://axieinfinity-companion.com`,
// },
// },
],
}