-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
78 lines (77 loc) · 1.76 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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
title: `AMS Elektronik`,
description: `AMS elektronik zajmuje się produkcją i instalacją suszarń tarcicy oraz materiałów sypkich, systemów sterowania i wyposażenia suszarń.`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-mdx`,
{
resolve: 'gatsby-plugin-anchor-links',
options: {
duration: 500,
},
},
{
resolve: 'gatsby-source-graphcms',
options: {
endpoint: process.env.GATSBY_GRAPHCMS_API_URL,
downloadLocalImages: true,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [`montserrat\:400, 600,700`],
display: 'swap',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
name: `static`,
options: {
name: `static`,
path: `${__dirname}/src/static`,
},
},
{
resolve: `gatsby-plugin-page-creator`,
options: {
path: `${__dirname}/src/pages`,
ignore: [`articles.js`],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `AMS Elektronik`,
short_name: `ams`,
lang: `pl`,
start_url: `/`,
background_color: `hsl(0,0%,100%)`,
theme_color: `hsl(222, 80%, 56%)`,
display: `standalone`,
icon: `src/assets/images/favicon.svg`,
crossOrigin: `anonymous`,
},
},
`gatsby-plugin-gatsby-cloud`,
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};