This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
81 lines (81 loc) · 2.19 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
module.exports = {
siteMetadata: {
title: `Boleh nggak __ ?`,
description: `Yuk cari tau hal-hal yang kamu boleh atau nggak boleh lakukan selama PSBB di Jakarta!`,
author: `Arian, Wahyu, Lintang, Aswin, Rose, dan Rara `,
siteUrl: `https://bolehnggak.id`,
secureUrl: `https://bolehnggak.id`,
canonical: `https://bolehnggak.id/`,
fbAppId: `909503169491208`,
ogImageWidth: "1200",
ogImageHeight: "630",
twitterSite: "@bolehnggak_id",
twitterCreator: "@arianjinx",
},
plugins: [
`gatsby-plugin-netlify`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-163485802-1",
head: false,
pageTransitionDelay: 0,
variationId: 0,
},
},
{
resolve: "gatsby-source-google-sheets",
options: {
spreadsheetId: "16skDPETqaL8RXGsfhDtWsNLLtOabbE76Tfw_IzmR0Bg",
worksheetTitle: "CROWDSOURCE",
credentials:
process.env.NODE_ENV === "production"
? JSON.parse(process.env.GOOGLE_SERVICE_CREDENTIALS)
: require("./google-service-credential.json"),
},
},
`gatsby-plugin-emotion`,
`gatsby-plugin-postcss`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Boleh nggak __ ?`,
short_name: `bolehnggak_id`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#242424`,
display: `minimal-ui`,
icon: `src/images/bolehnggak_id-icon.png`,
},
},
{
resolve: `gatsby-plugin-purgecss`,
options: {
printRejected: false,
develop: true,
tailwind: true,
ignore: ["src/components/SelectBox/SelectBox.css"],
whitelistPatternsChildren: [/^token/, /^pre/, /^code/],
},
},
{
resolve: "gatsby-plugin-web-font-loader",
options: {
google: {
families: ["Inter:400,500,600"],
},
},
},
`gatsby-plugin-sitemap`,
],
}