-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
88 lines (87 loc) · 2.38 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
require('dotenv').config()
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: {
title: 'GraphQL Texas',
description:
'We partner with companies to build amazing digital experiences. Expert software engineers for web, mobile, and cloud native',
author: '@boltsourceio',
siteUrl: 'https://boltsource.io',
keywords:
'consulting,contracting,software development,software engineering,engineering leadership,product development,software as a service, saas,graphql,reactjs,react native,kubernetes,cloud native,software architecture,consultants,contractors',
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-graphcms',
options: {
endpoint: process.env.GRAPHCMS_ENDPOINT,
downloadLocalImages: true,
buildMarkdownNodes: true,
fragmentsPath: './.cache/graphcms-fragments',
},
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-theme-tailwindcss',
options: {
postCssPlugins: [require('autoprefixer')],
},
},
'gatsby-plugin-typescript',
{
resolve: 'gatsby-plugin-emotion',
options: {
// Accepts all options defined by `babel-plugin-emotion` plugin.
},
},
'gatsby-plugin-eslint',
'gatsby-plugin-react-helmet',
'gatsby-plugin-manifest',
{
resolve: 'gatsby-plugin-purgecss',
options: {
tailwind: true,
purgeOnly: ['src/css/style.css'],
},
},
{
resolve: 'gatsby-plugin-webfonts',
options: {
fonts: {
google: [
{
family: 'Montserrat',
variants: ['400', '600', '700'],
},
{
family: 'Poppins',
variants: ['200', '300', '400', '600'],
},
],
},
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
// The property ID; the tracking code won't be generated without it
trackingId: 'UA-142150624-5',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false,
},
},
],
}