-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
74 lines (74 loc) · 2.11 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
module.exports = {
siteMetadata: {
title: `Thimble Consulting`,
description:
"We implement technology solutions that help businesses adapt to the evolving needs of growth.",
siteUrl: "https://thimble.dev",
url: "https://thimble.dev", // No trailing slash allowed!
image: "/thimble.png",
},
plugins: [
"gatsby-plugin-postcss",
"gatsby-plugin-sitemap",
// Images Plugins
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-json`,
`gatsby-transformer-sharp`, // Needed for dynamic images
// End of Images Plugins
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data/`,
// Ignore files starting with a dot
ignore: [`**/\.*`],
// Use "mtime" and "inode" to fingerprint files (to check if file has changed)
fastHash: true,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: "gatsby-plugin-piwik-pro",
options: {
containerUrl: "https://thimble.containers.piwik.pro",
siteId: process.env.PIWIK_SITE_ID,
enabled: process.env.NODE_ENV === "production",
},
},
{
resolve: `gatsby-omni-font-loader`,
options: {
enableListener: true,
preconnect: [
`https://fonts.googleapis.com`,
`https://fonts.gstatic.com`,
],
web: [
{
name: `Merriweather`,
file:
`https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap`,
},
{
name: `Jakarta Sans`,
file:
`https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet`,
},
],
},
},
{
resolve: "gatsby-plugin-manifest",
options: {
"icon": "src/images/icon.png",
},
},
],
};