This repository has been archived by the owner on Oct 5, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
71 lines (70 loc) · 1.95 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
const path = require('path');
module.exports = {
siteMetadata: {
title: `Techqueria Podcast`,
description: 'Sharing stories for and about latinx in Tech!',
siteUrl: `https://podcast.techqueria.org`,
author: `@techqueria`,
},
plugins: [
'gatsby-plugin-sass',
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
'gatsby-plugin-sass',
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-88917358-3",
head: false,
anonymize: true,
respectDNT: true,
exclude: ["/preview/**", "/do-not-track/me/too/"],
pageTransitionDelay: 0,
// optimizeId: "YOUR_GOOGLE_OPTIMIZE_TRACKING_ID",
// experimentId: "YOUR_GOOGLE_EXPERIMENT_ID",
// variationId: "YOUR_GOOGLE_OPTIMIZE_VARIATION_ID",
defer: false,
},
},
`gatsby-plugin-sharp`,
`gatsby-plugin-netlify`,
{
resolve: `gatsby-plugin-offline`,
options: {
precachePages: [`/`, `/404`, '/about'],
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Techqueria Podcast`,
short_name: `starter`,
start_url: `/`,
background_color: `#5a4640`,
theme_color: `#fabf67`,
display: `minimal-ui`,
icon: `src/images/techqueria.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-alias-imports`,
options: {
alias: {
"@components": path.resolve(__dirname, 'src/components'),
"@images": path.resolve(__dirname, 'src/images'),
},
extensions: []
}
},
// TODO: maybe add guessJS to prefetch assets and increase performance
// https://www.gatsbyjs.org/packages/gatsby-plugin-guess-js
],
}