-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
61 lines (60 loc) · 1.49 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
require(`dotenv`).config();
const { breadcrumbLabels } = require(`./src/constants/breadcrumbLabels`);
module.exports = {
siteMetadata: {
siteUrl: `https://suukraina.lt`,
},
plugins: [
{
resolve: `gatsby-plugin-breadcrumb`,
options: {
useAutoGen: true,
crumbLabelUpdates: breadcrumbLabels,
trailingSlashes: true,
},
},
`gatsby-transformer-remark`,
`gatsby-plugin-preact`,
`gatsby-plugin-postcss`,
`gatsby-plugin-image`,
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
formats: [`auto`, `webp`, `avif`],
placeholder: `dominantColor`,
quality: 80,
},
},
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `SuUkraina.lt`,
short_name: `SuUkraina.lt`,
start_url: `/`,
background_color: `#0F47AF`,
theme_color: `#FFD500`,
display: `standalone`,
icon: `src/images/main-icon.svg`,
icon_options: {
purpose: `any maskable`,
},
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-netlify`,
`create-redirects`,
`@mediacurrent/gatsby-plugin-silence-css-order-warning`,
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_DELIVERY_TOKEN,
},
},
`gatsby-plugin-image`,
],
};