/
gatsby-config.js
58 lines (57 loc) · 1.32 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
require("dotenv").config({
path: `.env`,
})
module.exports = {
siteMetadata: {
title: `Tangled in Stitches`,
siteUrl: `https://tangledinstitches.com`,
description: `Tangled in Stitches Clothing Company`,
author: `max@huebler.us`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-theme-shopify-manager`,
options: {
shopName: process.env.SHOP_NAME,
accessToken: process.env.SHOP_TOKEN,
},
},
{
resolve: `gatsby-source-datocms`,
options: {
apiToken: process.env.DATOCMS_TOKEN,
},
},
{
resolve: `gatsby-plugin-webfonts`,
options: {
fonts: {
google: [
{
family: "Norican",
variants: ["400"],
text: "Tangled in Stitches",
fontDisplay: "swap",
},
],
},
useMinify: true,
usePreload: true,
usePreconnect: true,
},
},
{
resolve: `gatsby-plugin-postcss`,
options: {
postCssPlugins: [require("tailwindcss"), require("autoprefixer")],
},
},
`gatsby-plugin-simple-analytics`,
`gatsby-plugin-advanced-sitemap`,
`gatsby-plugin-robots-txt`,
],
}