-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
45 lines (44 loc) · 975 Bytes
/
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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
/**
* @type {import('gatsby').GatsbyConfig}
*/
module.exports = {
siteMetadata: {
title: `William Cougan`,
siteUrl: `https://williamcougan.com`,
description: `"Discover the best version of yourself, one click at a time. - ChatGPT" - William Cougan`,
image: '/site-img.png',
},
plugins: [
{
resolve: `gatsby-omni-font-loader`,
options: {
enableListener: true,
preconnect: [`https://fonts.googleapis.com`, `https://fonts.gstatic.com`],
web: [
{
name: `Press Start 2P`,
file: `https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap`,
},
],
},
},
{
resolve: 'gatsby-plugin-styled-components',
},
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: 'src/assets/icon.png',
},
},
{
resolve: 'gatsby-plugin-google-gtag',
options: {
trackingIds: [process.env.GA_MEASUREMENT_ID],
},
},
],
};